From: Wolfram Schneider Date: Fri, 24 Oct 2014 09:07:48 +0000 (+0000) Subject: fetch node-modules if needed, dont complain X-Git-Tag: 1.0.0~114^2~1 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=ed855f21ebfd7a87731baa7019efce7c314b468b;p=mkws-moved-to-github.git fetch node-modules if needed, dont complain --- diff --git a/test/Makefile b/test/Makefile index 7574bea..1b986b4 100644 --- a/test/Makefile +++ b/test/Makefile @@ -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