blob: 28148409bcf372a3a57a706652934b73aa43ab96 (
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-20110119.tar.gz'
homepage 'http://code.google.com/p/closure-compiler/'
md5 '1e88d14026e63051df2aa3a89c9efcf3'
def install
libexec.install "compiler.jar"
(bin+'closure').write <<-EOS.undent
#!/bin/bash
java -jar #{libexec}/compiler.jar $@
EOS
end
end
|