Report broken (Windows)
The report is apparently broken
And when i open it:
wow... I haven't tested on windows, but how are you running it?
cssi --css teste.css --repo C:/workspace/cssitest
What comes to mind is that the default tpl param is *.tmpl, *.inc, *.js. Since you're running on cssi's module folder, it's getting all the node js files and acting crazy.
Please try this:
- Create a folder, place a dummy .html file there with
<div class="test1 test3"> - Create a dummy css file on the same folder, with this content:
.test1 { display: none; } .test2 { display: none; } .test3 { display: none; } - Be sure that you installed cssi with -g:
npm install -g cssi - Start a repo on that dir with
git init, thengit add -Aandgit commit -m "testing" - Go to that folder and run
cssi --css test.css --repo . --out report.html --tpl "*.html"
This should generate the report properly. Please reopen if not, I'm not testing on Windows.
Thanks
Still doesn't working :( I'll try on linux :)
I think that either the grep is not working properly, see
[CSSI] NOT FOUND: [class] .test1 [CSSI] NOT FOUND: [class] .test2 [CSSI] NOT FOUND: [class] .test3