diff options
Diffstat (limited to 'Library/Formula/closure-compiler.rb')
| -rw-r--r-- | Library/Formula/closure-compiler.rb | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Library/Formula/closure-compiler.rb b/Library/Formula/closure-compiler.rb index 9fe0edd73..d55e37418 100644 --- a/Library/Formula/closure-compiler.rb +++ b/Library/Formula/closure-compiler.rb @@ -2,14 +2,20 @@ require 'formula' class ClosureCompiler < Formula homepage 'http://code.google.com/p/closure-compiler/' - url 'http://closure-compiler.googlecode.com/files/compiler-20120430.tar.gz' - sha1 '8adabd3a4307a4168cb050cdcc588e82060d15d3' + url 'svn+http://closure-compiler.googlecode.com/svn/trunk/', :revision => 1918 + version 'r1918' + + url 'svn+http://closure-compiler.googlecode.com/svn/trunk/' def install - libexec.install "compiler.jar" - (bin+'closure').write <<-EOS.undent + system "ant", "clean" + system "ant" + + libexec.install Dir['*'] + + (bin+'closure-compiler').write <<-EOS.undent #!/bin/bash - java -jar "#{libexec}/compiler.jar" "$@" + java -jar "#{libexec}/build/compiler.jar" "$@" EOS end end |
