1
0
Fork 0

fixed return value of `make jslint`

This commit is contained in:
Jan Steemann 2014-03-10 09:37:23 +01:00
parent f3b755b6f7
commit cb0e6fa4d2
1 changed files with 5 additions and 2 deletions

View File

@ -70,14 +70,17 @@ JAVASCRIPT_JSLINT = \
.PHONY: jslint
jslint:
@for file in $(JAVASCRIPT_JSLINT); do \
@RESULT=0; \
for file in $(JAVASCRIPT_JSLINT); do \
@builddir@/bin/arangosh \
-c none \
--log.level error \
--server.password "" \
--javascript.startup-directory @srcdir@/js \
--jslint $$file; \
done
if [ "$$?x" != "0x" ]; then RESULT=1; fi; \
done; \
exit $$RESULT
################################################################################
### @brief sets up the directories