mirror of https://gitee.com/bigwinds/arangodb
Add possibility to jslint individual js files.
This commit is contained in:
parent
43308417d2
commit
2ecdf1626f
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
JAVASCRIPT_JSLINT="\
|
if [ "x$@" == "x" ] ; then
|
||||||
|
JAVASCRIPT_JSLINT="\
|
||||||
`find ./js/actions -name "*.js"` \
|
`find ./js/actions -name "*.js"` \
|
||||||
`find ./js/common/bootstrap -name "*.js"` \
|
`find ./js/common/bootstrap -name "*.js"` \
|
||||||
`find ./js/client/bootstrap -name "*.js"` \
|
`find ./js/client/bootstrap -name "*.js"` \
|
||||||
|
@ -36,7 +37,10 @@ JAVASCRIPT_JSLINT="\
|
||||||
./js/server/upgrade-database.js \
|
./js/server/upgrade-database.js \
|
||||||
\
|
\
|
||||||
./js/apps/system/_admin/aardvark/APP/frontend/js/shell/browser.js \
|
./js/apps/system/_admin/aardvark/APP/frontend/js/shell/browser.js \
|
||||||
"
|
"
|
||||||
|
else
|
||||||
|
JAVASCRIPT_JSLINT="$@"
|
||||||
|
fi
|
||||||
|
|
||||||
FILELIST=""
|
FILELIST=""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue