blob: 8b45831a45e09b51ea33ff82c20da3d7c48a2685 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
require 'formula'
class ClosureCompiler < Formula
url 'http://closure-compiler.googlecode.com/files/compiler-20110615.tar.gz'
homepage 'http://code.google.com/p/closure-compiler/'
md5 '7ba597fa67b187df23413eb0ca50f4cb'
def install
libexec.install "compiler.jar"
(bin+'closure').write <<-EOS.undent
#!/bin/bash
java -jar #{libexec}/compiler.jar $@
EOS
end
end
|