fetch node-modules if needed, dont complain
authorWolfram Schneider <wosch@indexdata.dk>
Fri, 24 Oct 2014 09:07:48 +0000 (09:07 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Fri, 24 Oct 2014 09:07:48 +0000 (09:07 +0000)
test/Makefile

index 7574bea..1b986b4 100644 (file)
@@ -42,13 +42,15 @@ clean-tmp:
 mkws-complete-syntax-check:
        ${MAKE} -C../src ../tools/htdocs/mkws-complete.min.js
 
-check check-js: mkws-complete-syntax-check
+check check-js: node-modules mkws-complete-syntax-check
+       ${JASMINE_NODE} --noColor --captureExceptions --forceexit ./spec
+
+check-node-installation:
        @if [ ! -e node_modules ]; then \
            echo "==> please run first: make node-modules"; \
            echo ""; \
            exit 1; \
        fi
-       ${JASMINE_NODE} --noColor --captureExceptions --forceexit ./spec
 
 test: check