diff options
| author | Adam Vandenberg | 2010-10-16 17:15:37 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-10-16 17:15:37 -0700 |
| commit | ba176cbd8e2ac1072e71be748bb7484b723a7c89 (patch) | |
| tree | 2ea58f1e1afd707b5a00f2beea4d80a3a7ff615b /Library | |
| parent | 4437804416915b2b7059222f10b5c8b4fe14c2d3 (diff) | |
| download | homebrew-ba176cbd8e2ac1072e71be748bb7484b723a7c89.tar.bz2 | |
Google closure-compiler for JavaScript
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/closure-compiler.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/closure-compiler.rb b/Library/Formula/closure-compiler.rb new file mode 100644 index 000000000..93478352e --- /dev/null +++ b/Library/Formula/closure-compiler.rb @@ -0,0 +1,15 @@ +require 'formula' + +class ClosureCompiler <Formula + url 'http://closure-compiler.googlecode.com/files/compiler-20100917.tar.gz' + homepage 'http://code.google.com/p/closure-compiler/' + md5 '581e7d667103d8bee08ff8adf7e39e56' + + def install + libexec.install "compiler.jar" + (bin+'closure').write <<-EOS.undent + #!/bin/bash + java -jar #{libexec}/compiler.jar $@ + EOS + end +end |
