projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fetch node-modules if needed, dont complain
[mkws-moved-to-github.git]
/
test
/
Makefile
diff --git
a/test/Makefile
b/test/Makefile
index
7574bea
..
1b986b4
100644
(file)
--- 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
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
@if [ ! -e node_modules ]; then \
echo "==> please run first: make node-modules"; \
echo ""; \
exit 1; \
fi
- ${JASMINE_NODE} --noColor --captureExceptions --forceexit ./spec
test: check
test: check