From c89d6538c3400b680ad8b4531154b3d814b5ebfa Mon Sep 17 00:00:00 2001 From: Grant Kinney Date: Sun, 30 Mar 2014 14:19:10 -0700 Subject: mysql-search-replace 3.0.0 Closes #27998. Signed-off-by: Adam Vandenberg --- Library/Formula/mysql-search-replace.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Library/Formula/mysql-search-replace.rb (limited to 'Library/Formula/mysql-search-replace.rb') diff --git a/Library/Formula/mysql-search-replace.rb b/Library/Formula/mysql-search-replace.rb new file mode 100644 index 000000000..630d4dc57 --- /dev/null +++ b/Library/Formula/mysql-search-replace.rb @@ -0,0 +1,18 @@ +require "formula" + +class MysqlSearchReplace < Formula + homepage "https://interconnectit.com/products/search-and-replace-for-wordpress-databases/" + url "https://github.com/interconnectit/Search-Replace-DB/archive/3.0.0.tar.gz" + sha1 "9778ffcc26fabf85c49bd6ef98b5a80d0d0365f1" + + def install + libexec.install "srdb.class.php" + libexec.install "srdb.cli.php" => "srdb" + chmod 0755, libexec/"srdb" + bin.install_symlink libexec/"srdb" + end + + test do + system bin/"srdb", "--help" + end +end -- cgit v1.2.3