homebrew-core/Formula/closure-compiler.rb
Rolf Timmermans 71aa4085b9 Closure Compiler 20110119
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-01 08:11:39 -08:00

15 lines
394 B
Ruby

require 'formula'
class ClosureCompiler <Formula
url 'http://closure-compiler.googlecode.com/files/compiler-20110119.tar.gz'
homepage 'http://code.google.com/p/closure-compiler/'
md5 '1e88d14026e63051df2aa3a89c9efcf3'
def install
libexec.install "compiler.jar"
(bin+'closure').write <<-EOS.undent
#!/bin/bash
java -jar #{libexec}/compiler.jar $@
EOS
end
end