diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mysql-search-replace.rb | 18 |
1 files changed, 18 insertions, 0 deletions
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 |
