homebrew-core/Formula/galen.rb
ilovezfs 405bb82013 galen 2.2.6
Closes #2850.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-07-08 21:36:32 -07: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.6/galen-bin-2.2.6.zip"
sha256 "9689ac732d23abde109933f59dc808ed32ef6ee3dc02ec9839a6c7b7923a2e58"
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