2015-01-22 15:41:30 +00:00
|
|
|
class Galen < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Automated testing of look and feel for responsive websites"
|
2015-01-22 15:41:30 +00:00
|
|
|
homepage "http://galenframework.com/"
|
2015-06-16 22:07:37 +00:00
|
|
|
url "https://github.com/galenframework/galen/releases/download/galen-1.6.4/galen-bin-1.6.4.zip"
|
|
|
|
sha256 "f81fb9af846662fd89778654d13246184561fde11a23b67e23b144cfac56f88c"
|
2015-01-22 15:41:30 +00:00
|
|
|
|
2015-04-07 21:49:50 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-06-16 22:15:14 +00:00
|
|
|
sha256 "a8896697000cc717132626a3a5594f6a1f4c2dd8a3a6b51b380e14204621b724" => :yosemite
|
|
|
|
sha256 "061e77f0cd75b2ddbf2c372373f5d7ae7e72546b2bd43dba8c0dbd43fd62ca9c" => :mavericks
|
|
|
|
sha256 "97b5096a5a3130854aca1dd34b0a1b6f1e5f31c3364ff77be6900e0e6342922f" => :mountain_lion
|
2015-04-07 21:49:50 +00:00
|
|
|
end
|
|
|
|
|
2015-01-30 09:27:42 +00:00
|
|
|
depends_on :java => "1.6+"
|
2015-01-22 15:41:30 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
libexec.install "galen.jar"
|
2015-01-25 11:11:08 +00:00
|
|
|
(bin/"galen").write <<-EOS.undent
|
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
java -cp "#{libexec}/galen.jar:lib/*:libs/*" net.mindengine.galen.GalenMain "$@"
|
|
|
|
EOS
|
2015-01-22 15:41:30 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2015-01-27 13:24:25 +00:00
|
|
|
assert_match "Version: #{version}", shell_output("#{bin}/galen -v")
|
2015-01-22 15:41:30 +00:00
|
|
|
end
|
|
|
|
end
|