homebrew-core/Formula/galen.rb
ilovezfs b20e422da9 galen 2.3.2
Closes #7109.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-11-21 02:25:18 -08: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.3.2/galen-bin-2.3.2.zip"
sha256 "162d5b07078c855e8f74745c62124ef7896bbb7686a62649556f32ff0b0219a9"
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