homebrew-core/Formula/calabash.rb
Dominyk Tiller f2bad5ea92 calabash 1.0.24-95
Version bump. Removed the HEAD because it requires compile, and
including an ` ant ` dep and doing ` ant ` in the build process ended
up at fatal build errors for me.

Closes Homebrew/homebrew#36580.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-06 08:24:14 +00:00

18 lines
516 B
Ruby

class Calabash < Formula
homepage "http://xmlcalabash.com"
url "http://xmlcalabash.com/download/calabash-1.0.24-95.zip"
sha1 "e5443324147891728277880046e5466aef74a8ad"
depends_on "saxon"
def install
libexec.install Dir["*"]
bin.write_jar_script libexec/"calabash.jar", "calabash", "-Xmx1024m"
end
test do
# This small XML pipeline (*.xpl) that comes with Calabash
# is basically its equivalent "Hello World" program.
system "#{bin}/calabash", "#{libexec}/xpl/pipe.xpl"
end
end