mirror of https://gitee.com/bigwinds/arangodb
fixed return value of `make jslint`
This commit is contained in:
parent
f3b755b6f7
commit
cb0e6fa4d2
|
@ -70,14 +70,17 @@ JAVASCRIPT_JSLINT = \
|
||||||
.PHONY: jslint
|
.PHONY: jslint
|
||||||
|
|
||||||
jslint:
|
jslint:
|
||||||
@for file in $(JAVASCRIPT_JSLINT); do \
|
@RESULT=0; \
|
||||||
|
for file in $(JAVASCRIPT_JSLINT); do \
|
||||||
@builddir@/bin/arangosh \
|
@builddir@/bin/arangosh \
|
||||||
-c none \
|
-c none \
|
||||||
--log.level error \
|
--log.level error \
|
||||||
--server.password "" \
|
--server.password "" \
|
||||||
--javascript.startup-directory @srcdir@/js \
|
--javascript.startup-directory @srcdir@/js \
|
||||||
--jslint $$file; \
|
--jslint $$file; \
|
||||||
done
|
if [ "$$?x" != "0x" ]; then RESULT=1; fi; \
|
||||||
|
done; \
|
||||||
|
exit $$RESULT
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
### @brief sets up the directories
|
### @brief sets up the directories
|
||||||
|
|
Loading…
Reference in New Issue