I'm new to Ubuntu, I'll be the first to admit that, but I need to integrate csslint into a CI build script and I found the about page on the csslint site unhelpful. It gave me two options for installing csslint but they require either node or rhino:
Node.js:
sudo npm install -g csslint
Rhino.js:
java -jar rhino.jar csslint-rhino.js --rules= ~ /* suppressed for simplicity */
After googling for either of these in a format I know how to work with, on google groups I found someone asking a similar question. The answer was that rhino is not a ready made product you install and run but a library you work with.
All I need to do is:
- pass CSS files to
csslintthrough bash withcsslintargs - get the response back
- evaluate whether or not the build should fail due to violations
Is there anywhere I can find step-by-step instructions that include dependencies such as node or rhino?
Thanks everyone.