blob: c8a6bdfebcc2fbaaf946704e6efc4208f9784b89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  | 
require 'formula'
class ClosureCompiler < Formula
  homepage 'http://code.google.com/p/closure-compiler/'
  url 'https://code.google.com/p/closure-compiler/', :using => :git, :tag => 'v20130411'
  version '20130411'
  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
  |