homebrew-core/Formula/closure-compiler.rb
Ian Lancaster 564be4bf7c closure-compiler 20130227
Switched to git tags.

Closes Homebrew/homebrew#18301.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-06 21:49:50 -08:00

17 lines
459 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 => 'v20130227'
version '20130227'
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