diff options
| author | oncletom | 2012-06-09 21:29:25 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2012-06-12 07:11:27 -0700 |
| commit | faab02f82b246a564d531e21596ed56cdbae0b7b (patch) | |
| tree | 1055e6d254094b839e465234cbe77ffdf4c61639 | |
| parent | 4041e82d80778c32cf3054d95d6af5eaa73a1747 (diff) | |
| download | homebrew-faab02f82b246a564d531e21596ed56cdbae0b7b.tar.bz2 | |
closure-compiler: use SVN to get externals
Closes #12688.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/closure-compiler.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Library/Formula/closure-compiler.rb b/Library/Formula/closure-compiler.rb index 2f1d523cf..7afc38419 100644 --- a/Library/Formula/closure-compiler.rb +++ b/Library/Formula/closure-compiler.rb @@ -2,10 +2,11 @@ require 'formula' class ClosureCompiler < Formula homepage 'http://code.google.com/p/closure-compiler/' - #url 'svn+http://closure-compiler.googlecode.com/svn/trunk/', :revision => '1918' - version 'r1918' + # Use an SVN download to get the externals as well + url 'svn+http://closure-compiler.googlecode.com/svn/trunk/', :revision => '1918' + version '20120430' - head 'svn+http://closure-compiler.googlecode.com/svn/trunk/', :revision => '1918' + head 'svn+http://closure-compiler.googlecode.com/svn/trunk/' def install system "ant", "clean" @@ -13,7 +14,7 @@ class ClosureCompiler < Formula libexec.install Dir['*'] - (bin+'closure-compiler').write <<-EOS.undent + (bin/'closure-compiler').write <<-EOS.undent #!/bin/bash java -jar "#{libexec}/build/compiler.jar" "$@" EOS |
