b58d2dfe97
Closes #431. Signed-off-by: Andrew Janke <andrew@apjanke.net>
21 lines
663 B
Ruby
21 lines
663 B
Ruby
class Calabash < Formula
|
|
desc "XProc (XML Pipeline Language) implementation"
|
|
homepage "http://xmlcalabash.com"
|
|
url "https://github.com/ndw/xmlcalabash1/releases/download/1.1.9-96/xmlcalabash-1.1.9-96.zip"
|
|
sha256 "fcea29539aa8a881b43ed1924734c306b55b9bd4efcf2beb47f4ede18ad6bd95"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on "saxon"
|
|
|
|
def install
|
|
libexec.install Dir["*"]
|
|
bin.write_jar_script libexec/"xmlcalabash-#{version}.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
|