zmoazeni / csscss

A CSS redundancy analyzer that analyzes redundancy.
http://zmoazeni.github.io/csscss/
MIT License
2.92k stars 151 forks source link

grunt hook #21

Closed willfarrell closed 11 years ago

willfarrell commented 11 years ago

Feature request To have a grunt hook for for this project to allow automated checking of ones css during the code build process.

zmoazeni commented 11 years ago

Someone asked me this in email. I'm not familiar with grunt. Depending on how big of an impact this is, I might want this rolled into a separate extension gem e.g. csscss-grunt.

I could easily see a slew of additional extensions, like csscss-guard for the guard gem

asciidisco commented 11 years ago

I'll take a look at this over the weekend, shouldn't be too hard...

peterkeating commented 11 years ago

I was said someone who emailed you Zach :)

I have created a grunt task that will run CSSCSS. Need to add some documentation, publish to npm and implement the new 1.1.0 features.

https://github.com/peterkeating/grunt-csscss

peterkeating commented 11 years ago

Little update, I have added documentation, published to npm and implemented options for the new 1.1.0 features are in a branch waiting to be tested & released.

:)

zmoazeni commented 11 years ago

Thanks for your work on this @peterkeating - let me know if I can help out in any way. I'm not really a node guy but I can fake it. And obviously help out with any csscss internals.

peterkeating commented 11 years ago

No worries Zach, thank you for creating an awesomely useful tool :)

Will make sure I keep the grunt task up to date with future releases of CSSCSS.

Any feedback from others is welcome!

willfarrell commented 11 years ago

Awesome! Now all I have to do is figure out how to upgrade Ruby and I'm all set.