homebrew-core/Formula/closure-compiler.rb
David Christenson db0d24756a closure-compiler v20140625
Update to latest stable release, change single quotes to double.

Closes Homebrew/homebrew#31101.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-07-24 20:58:41 -05:00

19 lines
505 B
Ruby

require "formula"
class ClosureCompiler < Formula
homepage "https://github.com/google/closure-compiler"
url "https://github.com/google/closure-compiler/archive/maven-release-v20140625.tar.gz"
sha1 "48b13a84963321a77f68e814e44399f16884b278"
head "https://github.com/google/closure-compiler.git"
depends_on :ant => :build
def install
system "ant", "clean"
system "ant"
libexec.install Dir["*"]
bin.write_jar_script libexec/"build/compiler.jar", "closure-compiler"
end
end