praveenvijayan / grunt-html-validation

W3C html validaton grunt plugin. Validate all files in a directory automatically.
MIT License
75 stars 39 forks source link

Return status #53

Closed fulldecent closed 6 years ago

fulldecent commented 10 years ago

Please allow an option to return a non-zero status if validation is not passed.

Presently I need to use this ugly hack to determine if validation passed of failed in a continuous integration environment.

https://github.com/fulldecent/Chart.js/blob/427d846b3544fe325b0ab8a332bf5d7e1af4ba2a/.travis.yml

fulldecent commented 9 years ago

I am running this with:

# VALIDATE HTML
java -jar node_modules/grunt-html/vnu.jar --format text --verbose */*.html 2> >(tee VALIDATE.txt >&2)
perl -e '@_=<>; exit $#_' VALIDATE.txt

Perhaps there is a better way to run it

fulldecent commented 6 years ago

Closing, project seems dead