From faab02f82b246a564d531e21596ed56cdbae0b7b Mon Sep 17 00:00:00 2001 From: oncletom Date: Sat, 9 Jun 2012 21:29:25 +0200 Subject: closure-compiler: use SVN to get externals Closes #12688. Signed-off-by: Adam Vandenberg --- Library/Formula/closure-compiler.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3