htmlcompressor: interpolate version
This commit is contained in:
parent
ee5122177d
commit
61a0b1168d
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ class Htmlcompressor < Formula
|
|||
depends_on "closure-compiler" if build.include? 'closure-compiler'
|
||||
|
||||
def install
|
||||
libexec.install "htmlcompressor-1.5.3.jar"
|
||||
bin.write_jar_script libexec/"htmlcompressor-1.5.3.jar", "htmlcompressor"
|
||||
libexec.install "htmlcompressor-#{version}.jar"
|
||||
bin.write_jar_script libexec/"htmlcompressor-#{version}.jar", "htmlcompressor"
|
||||
|
||||
if build.include? 'yuicompressor'
|
||||
yui = Formula.factory('yuicompressor')
|
||||
|
|
Loading…
Reference in a new issue