aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/closure-compiler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/closure-compiler.rb')
-rw-r--r--Library/Formula/closure-compiler.rb9
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