Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (8 sloc) 307 Bytes
#!/bin/sh
BASEPATH=`dirname "$0"`
FILES=$*
if [ "$FILES" = "" ]; then
FILES=`find -iregex .*\\.js$ | grep -v node_modules | grep -v .min.js`
fi
PYTHONPATH=$BASEPATH/tools/closure_linter/ `which python` $BASEPATH/tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc $FILES
exit $?