diff options
| author | Grant Kinney | 2014-03-30 14:19:10 -0700 | 
|---|---|---|
| committer | Adam Vandenberg | 2014-05-21 14:25:37 -0700 | 
| commit | c89d6538c3400b680ad8b4531154b3d814b5ebfa (patch) | |
| tree | 476141ce8af40d5ec57d76e0c5db077ca66a10b1 /Library | |
| parent | a6fb4b9c0841dcd0867e572bfdcb69b58248ad2a (diff) | |
| download | homebrew-c89d6538c3400b680ad8b4531154b3d814b5ebfa.tar.bz2 | |
mysql-search-replace 3.0.0
Closes #27998.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -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 | 
