homebrew-core/Formula/galen.rb

24 lines
660 B
Ruby
Raw Normal View History

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.0/galen-bin-2.3.0.zip"
sha256 "2a3333c3313eaed6566125d688d3ef9de4c9352903c871ff5ff3e02807dce783"
2016-03-22 23:29:46 +00:00
bottle :unneeded
2015-04-07 21:49:50 +00:00
2015-01-30 09:27:42 +00:00
depends_on :java => "1.6+"
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/*" com.galenframework.GalenMain "$@"
2015-01-25 11:11:08 +00:00
EOS
end
test do
assert_match "Version: #{version}", shell_output("#{bin}/galen -v")
end
end