homebrew-core/Formula/galen.rb

28 lines
888 B
Ruby
Raw Normal View History

class Galen < Formula
homepage "http://galenframework.com/"
url "https://github.com/galenframework/galen/releases/download/galen-1.6.3/galen-bin-1.6.3.zip"
sha256 "efd7cac3c6aed1f8630dbfa2ee51069c1d7551df457036c600d93fbc3f9c6ebf"
2015-04-07 21:49:50 +00:00
bottle do
cellar :any
2015-05-06 01:26:04 +00:00
sha256 "e7bb986e7077068b4864fc0136087793f6d3daa49821dc1a059946183d777463" => :yosemite
sha256 "60137c10b0433fbc729d2590fa2da15f1ddd3ee7cca6ee8ca4d216aa9e40a6a8" => :mavericks
sha256 "2c7d23e72734ca6387ee784539bc3458ad224b1cce4fa7f9d9539bf80981449f" => :mountain_lion
2015-04-07 21:49:50 +00:00
end
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/*" net.mindengine.galen.GalenMain "$@"
EOS
end
test do
assert_match "Version: #{version}", shell_output("#{bin}/galen -v")
end
end