diff options
| author | Arne Jørgensen | 2015-03-15 17:52:03 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-03-15 17:41:36 +0000 |
| commit | 0281a14856676e5455ceb1c0b97ce2afb560221f (patch) | |
| tree | a4d41336ca8052b16e06b99725c528a37ea4f302 | |
| parent | b95de10440c379adddc285ac0a0475bb6984ae93 (diff) | |
| download | homebrew-0281a14856676e5455ceb1c0b97ce2afb560221f.tar.bz2 | |
mysqltuner 1.4.0 (new formula)
References #7365.
Closes #37739.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/mysqltuner.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/mysqltuner.rb b/Library/Formula/mysqltuner.rb new file mode 100644 index 000000000..17b192ede --- /dev/null +++ b/Library/Formula/mysqltuner.rb @@ -0,0 +1,17 @@ +class Mysqltuner < Formula + homepage "http://mysqltuner.com" + url "https://github.com/major/MySQLTuner-perl/archive/v1.4.0.tar.gz" + sha256 "8d5a03b64da2164c6bd93b79700c93db088a14155bcc8cb63c65d049909d793e" + head "https://github.com/major/MySQLTuner-perl.git" + + def install + bin.install "mysqltuner.pl" => "mysqltuner" + end + + # mysqltuner analyzes your database configuration by connecting to a + # mysql server. It is not really feasible to spawn a mysql server + # just for a test case so we'll stick with a rudimentary test. + test do + system "#{bin}/mysqltuner", "--help" + end +end |
