mmraja83 / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

how to use with php cli ? #242

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hello,

i would like to use you lib in command line for generate min version at each 
release

is it possible ?

actually i m using yuicompressor which is bugguy with my JVM ( lot of crash )

here is how i use it, i would appreciate the equivalent with minify:

find -H /home/web/myapp/ -type f -name '*.css' -exec sh -c 'echo {} && java 
-jar /home/batch/libs/yuicompressor.jar {} -o '.css$:-min.css' {}' \;

you can see here that it create a new file with -min suffix

thanx for any help

Original issue reported on code.google.com by pitsel...@gmail.com on 7 Sep 2011 at 9:50

GoogleCodeExporter commented 9 years ago
Please re-post this message to: http://groups.google.com/group/minify

Original comment by mrclay....@gmail.com on 7 Sep 2011 at 4:13