2964012211
Closes #31655. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
21 lines
667 B
Ruby
21 lines
667 B
Ruby
class Calabash < Formula
|
|
desc "XProc (XML Pipeline Language) implementation"
|
|
homepage "https://xmlcalabash.com/"
|
|
url "https://github.com/ndw/xmlcalabash1/releases/download/1.1.22-98/xmlcalabash-1.1.22-98.zip"
|
|
sha256 "da28fd3b0b0085308e814c09c7c33609d573f73f93e66d216772bf2b5b346888"
|
|
|
|
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
|