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 jasmine-node --noColor --captureExceptions --forceexit ./spec
19 jasmine-node --noColor --captureExceptions --forceexit ./spec-sp
24 $(MIKE) jasmine-node --noColor --captureExceptions --forceexit spec
26 jsbeautifier jsb indent:
27 for i in ./spec*/*.js ./js/*.js; do \
28 jsbeautifier -j $$i > $@.tmp && mv -f $@.tmp $$i; \
31 node-modules: node_modules
33 npm install ${NPM_INSTALL_FLAGS} jQuery xmlhttprequest jsdom request jasmine-node phantomjs
36 @echo "make [ all | check | clean | distclean ]"
37 @echo " [ jsbeautifier | node-modules ]"