From: GoalSmashers Date: Mon, 6 Aug 2012 09:20:30 +0000 (+0200) Subject: Fixed outdated readme. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=fa4a3661cdfc2340bec4e71517aacb0546a42694;p=clean-css.git Fixed outdated readme. --- diff --git a/README.md b/README.md index 64cefa18..7f314e2e 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,8 @@ Clean-css is a node.js library for minifying CSS files. It does the same job as ### What are the requirements? ### - node 0.4.0+ + node 0.6.0+ on *nix (fully tested on OS X 10.6+ and CentOS) + node 0.8.0+ on Windows ### How to install clean-css? ### @@ -22,7 +23,7 @@ To minify the same **public.css** into standard output skip the -o parameter: cleancss public.css -Or more likely you would like to do something like this: +Or more likely you would like to do something like this (if you are on *nix system): cat one.css two.css three.css | cleancss -o merged-and-minified.css @@ -50,6 +51,10 @@ You need vows testing framework (npm install vows) then simply run: make test +on *nix systems. If you are under Windows then run: + + ./test.bat + ## Acknowledgments ## * Vincent Voyer (@vvo) for a patch with better empty element regex and for inspiring us to do many performance improvements in 0.4 release.