aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/calabash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/calabash.rb')
-rw-r--r--Library/Formula/calabash.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/Library/Formula/calabash.rb b/Library/Formula/calabash.rb
index 2f966364f..6d9b5db0a 100644
--- a/Library/Formula/calabash.rb
+++ b/Library/Formula/calabash.rb
@@ -4,20 +4,14 @@ class Calabash < Formula
homepage 'http://xmlcalabash.com'
url 'http://xmlcalabash.com/download/calabash-1.0.3-94.zip'
sha1 '4f8329f2fc9cac1b03f161219a1a1b9987ac7ecf'
+
head 'https://github.com/ndw/xmlcalabash1.git'
depends_on 'saxon'
def install
libexec.install Dir["*"]
- (bin+'calabash').write shim_script('calabash')
- end
-
- def shim_script target
- <<-EOS.undent
- #!/usr/bin/env bash
- java -Xmx1024m -jar #{libexec}/calabash.jar "$@"
- EOS
+ bin.write_jar_script libexec/'calabash.jar', 'calabash', '-Xmx1024m'
end
def test