blob: 17b192ede348c567773d98cff9c6c726058c6fe4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
|