homebrew-core/Formula/galen.rb
Alexandre Espinosa Menor af1810611b galen 1.5.3
Closes Homebrew/homebrew#36562.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-05 17:59:54 +00:00

20 lines
548 B
Ruby

class Galen < Formula
homepage "http://galenframework.com/"
url "https://github.com/galenframework/galen/releases/download/galen-1.5.3/galen-bin-1.5.3.zip"
sha1 "a955e9fc131d03c6404e22e81452533261086bde"
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/*" net.mindengine.galen.GalenMain "$@"
EOS
end
test do
assert_match "Version: #{version}", shell_output("#{bin}/galen -v")
end
end