homebrew-core/Formula/closure-compiler.rb
Adam Vandenberg 4efc051ab1 Revert "closure-compiler: requires Java 7"
This reverts commit 8bca3b24ea4256444fadc78f67d3a7eb9ad3b63d.
2014-04-09 07:43:05 -07:00

18 lines
457 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 => 'v20140303'
head 'https://code.google.com/p/closure-compiler/', :using => :git
depends_on :ant
def install
system "ant", "clean"
system "ant"
libexec.install Dir['*']
bin.write_jar_script libexec/'build/compiler.jar', 'closure-compiler'
end
end