install phantomjs modules
[mkws-moved-to-github.git] / test / Makefile
index e2d8fc2..09f3555 100644 (file)
@@ -24,13 +24,13 @@ terse:
        $(MIKE) jasmine-node --noColor --captureExceptions --forceexit spec
 
 jsbeautifier jsb indent:
-       for i in ./spec/*.js ./js/*.js; do \
+       for i in ./spec*/*.js ./js/*.js; do \
          jsbeautifier -j $$i > $@.tmp && mv -f $@.tmp $$i; \
        done
 
 node-modules: node_modules
 node_modules:
-       npm install ${NPM_INSTALL_FLAGS} jQuery xmlhttprequest jsdom request jasmine-node
+       npm install ${NPM_INSTALL_FLAGS} jQuery xmlhttprequest jsdom request jasmine-node phantomjs
 
 help:
        @echo "make [ all | check | clean | distclean ]"