1 # Copyright (c) 2013 IndexData ApS. http://indexdata.com
3 # For running on Mike's local install of node.js
4 MIKE = PATH=$$PATH:/usr/local/lib/node-v0.10.24-linux-x64/bin
14 mkws-complete-syntax-check:
15 ${MAKE} -C../tools/htdocs $@
17 check: mkws-complete-syntax-check
18 for i in ./spec/*.js; do \
20 jasmine-node --noColor --captureExceptions --forceexit $$i; \
26 $(MIKE) jasmine-node --noColor --captureExceptions --forceexit spec
28 jsbeautifier jsb indent:
29 for i in ./spec/*.js ./js/*.js; do \
30 jsbeautifier -j $$i > $@.tmp && mv -f $@.tmp $$i; \
33 node-modules: node_modules
35 npm install ${NPM_INSTALL_FLAGS} jQuery xmlhttprequest jsdom request jasmine-node
38 @echo "make [ all | check | clean | distclean ]"
39 @echo " [ jsbeautifier | node-modules ]"