de6a2cc613
The changes were made with the following shell command: for formula in $(grep -l 'desc "[Aa]n\?\s' Library/Formula/*.rb); do echo $formula vim -c '/desc "/s/[Aa]n\? //|normal f"gU2lZZ' $formula done Closes Homebrew/homebrew#42333. Signed-off-by: Xu Cheng <xucheng@me.com>
18 lines
642 B
Ruby
18 lines
642 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.4-96/xmlcalabash-1.1.4-96.zip"
|
|
sha256 "a68b729c1cf392433534c207e9fe1002deca42282ed409ed93fbeb0e13b7583c"
|
|
|
|
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
|