diff options
| author | oncletom | 2012-06-09 10:26:31 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2012-06-12 07:10:38 -0700 |
| commit | ba07d8c7a159ea0f8233697be78fcdbba98635d8 (patch) | |
| tree | 8fcb0b56e57009b537a67cf7b38fc9f36c103109 /Library | |
| parent | c997507315b87b42eb93fc18dc2dd555b8b11625 (diff) | |
| download | homebrew-ba07d8c7a159ea0f8233697be78fcdbba98635d8.tar.bz2 | |
Made closure compiler formula working with SVN source
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -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 |
