Add support for jshint reports.

Integrated style-checker for javascript source code.

refs #4098
This commit is contained in:
Johannes Meyer 2013-05-31 13:52:12 +02:00
parent 3544af245f
commit 5118432b82
3 changed files with 12 additions and 0 deletions

1
test/js/.jshintignore Normal file
View File

@ -0,0 +1 @@
../../library/vendor/**

6
test/js/.jshintrc Normal file
View File

@ -0,0 +1,6 @@
/* See http://www.jshint.com/docs/#usage on how to use this file */
{
}

5
test/js/checkswag.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
jshint --reporter=jslint "$@" ../.. > ../../build/log/jshint_results.xml
exit 0