View Code? Open in Web Editor
NEW
A set of Zend Framework view helpers that automagically bundle, minify, and compress your javascript and css.
Home Page: http://hobodave.com/
License: BSD 2-Clause "Simplified" License
bundle-phu's People
bundle-phu's Issues
Everything works great, but I am having trouble getting the setMinifyCommand to work. I am trying to use yuicompressor. I have my path to yuicompressor set correctly but the css or js is not being compressed.
I have added:
->setCacheDir(PATH_PROJECT . '/data/cache/css')
->setDocRoot(PATH_PROJECT . '/public')
->setUseMinify(true)
->setMinifyCommand('java -jar /path/to/yuicompressor-2.4.7/build/yuicompressor-2.4.7.jar -o :filename')
->setUrlPrefix('/stylesheets');
I have tested the following yuicompressor command manually and it works just fine:
java -jar /path/to/yuicompressor-2.4.7/build/yuicompressor-2.4.7.jar test.css -o test.min.css
Is there something I'm leaving out?