Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (8 sloc) 301 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/fixjsstyle.py --strict --nojsdoc $FILES
exit $?