From ed855f21ebfd7a87731baa7019efce7c314b468b Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Fri, 24 Oct 2014 09:07:48 +0000 Subject: [PATCH] fetch node-modules if needed, dont complain --- test/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 1.7.10.4