homebrew-core/Formula/closure-compiler.rb
2013-08-02 17:57:06 -05:00

16 lines
438 B
Ruby

require 'formula'
class ClosureCompiler < Formula
homepage 'http://code.google.com/p/closure-compiler/'
url 'https://code.google.com/p/closure-compiler/', :using => :git, :tag => 'v20130722'
head 'https://code.google.com/p/closure-compiler/', :using => :git
def install
system "ant", "clean"
system "ant"
libexec.install Dir['*']
bin.write_jar_script libexec/'build/compiler.jar', 'closure-compiler'
end
end