1
0
Fork 0

Add possibility to jslint individual js files.

This commit is contained in:
Max Neunhoeffer 2016-02-29 11:24:48 +01:00
parent 43308417d2
commit 2ecdf1626f
1 changed files with 41 additions and 37 deletions

View File

@ -1,6 +1,7 @@
#!/bin/bash
JAVASCRIPT_JSLINT="\
if [ "x$@" == "x" ] ; then
JAVASCRIPT_JSLINT="\
`find ./js/actions -name "*.js"` \
`find ./js/common/bootstrap -name "*.js"` \
`find ./js/client/bootstrap -name "*.js"` \
@ -36,7 +37,10 @@ JAVASCRIPT_JSLINT="\
./js/server/upgrade-database.js \
\
./js/apps/system/_admin/aardvark/APP/frontend/js/shell/browser.js \
"
"
else
JAVASCRIPT_JSLINT="$@"
fi
FILELIST=""