New formula: htmlcompressor
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
35e7432874
commit
b2f2b18fb9
1 changed files with 15 additions and 0 deletions
15
Formula/htmlcompressor.rb
Normal file
15
Formula/htmlcompressor.rb
Normal file
|
@ -0,0 +1,15 @@
|
|||
require 'formula'
|
||||
|
||||
class Htmlcompressor <Formula
|
||||
url 'http://htmlcompressor.googlecode.com/files/htmlcompressor-0.9.4.jar'
|
||||
homepage 'http://code.google.com/p/htmlcompressor/'
|
||||
md5 '6b6a68a048ce52b4fd567e1beeb2cfb6'
|
||||
|
||||
def install
|
||||
libexec.install "htmlcompressor-0.9.4.jar"
|
||||
(bin+'htmlcompressor').write <<-EOS.undent
|
||||
#!/bin/sh
|
||||
java -jar "#{libexec}/htmlcompressor-0.9.4.jar" $@
|
||||
EOS
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue