homebrew-core/Formula/galen.rb
Alexandre Espinosa Menor 4a524eb588 galen 2.2.4
Closes #197.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-10 20:15:05 -04:00

23 lines
660 B
Ruby

class Galen < Formula
desc "Automated testing of look and feel for responsive websites"
homepage "http://galenframework.com/"
url "https://github.com/galenframework/galen/releases/download/galen-2.2.4/galen-bin-2.2.4.zip"
sha256 "2df04f7e84b8aca79a8da2293291a577a0e41fbb7e7173e005087165d4bfa663"
bottle :unneeded
depends_on :java => "1.6+"
def install
libexec.install "galen.jar"
(bin/"galen").write <<-EOS.undent
#!/bin/sh
set -e
java -cp "#{libexec}/galen.jar:lib/*:libs/*" com.galenframework.GalenMain "$@"
EOS
end
test do
assert_match "Version: #{version}", shell_output("#{bin}/galen -v")
end
end