Add yuicompressor 2.4.2.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
2a6aef77af
commit
f14464eadf
1 changed files with 15 additions and 0 deletions
15
Formula/yuicompressor.rb
Normal file
15
Formula/yuicompressor.rb
Normal file
|
@ -0,0 +1,15 @@
|
|||
require 'formula'
|
||||
|
||||
class Yuicompressor <Formula
|
||||
url 'http://yuilibrary.com/downloads/yuicompressor/yuicompressor-2.4.2.zip'
|
||||
homepage 'http://yuilibrary.com/project/yuicompressor'
|
||||
md5 '2a526a9aedfe2affceed1e1c3f9c0579'
|
||||
|
||||
def install
|
||||
libexec.install "build/yuicompressor-2.4.2.jar"
|
||||
(bin+'yuicompressor').write <<-EOS.undent
|
||||
#!/bin/sh
|
||||
java -jar "#{libexec}/yuicompressor-2.4.2.jar" $@
|
||||
EOS
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue