Add "terse" rule to do tests all at once.
Add $(MIKE) prefix for running my local node.js
# Copyright (c) 2013 IndexData ApS. http://indexdata.com
# Copyright (c) 2013 IndexData ApS. http://indexdata.com
+# For running on Mike's local install of node.js
+MIKE = PATH=$$PATH:/usr/local/lib/node-v0.10.24-linux-x64/bin
+
all: check
clean:
distclean:
rm -rf node_modules
all: check
clean:
distclean:
rm -rf node_modules
check:
for i in ./spec/*.js; do \
check:
for i in ./spec/*.js; do \
+terse:
+ $(MIKE) jasmine-node --noColor --captureExceptions --forceexit spec
+
jsbeautifier jsb indent:
for i in ./spec/*.js ./js/*.js; do \
jsbeautifier -j $$i > $@.tmp && mv -f $@.tmp $$i; \
jsbeautifier jsb indent:
for i in ./spec/*.js ./js/*.js; do \
jsbeautifier -j $$i > $@.tmp && mv -f $@.tmp $$i; \