# For running on Mike's local install of node.js
MIKE = PATH=$$PATH:/usr/local/lib/node-v0.10.24-linux-x64/bin
NPM_INSTALL_FLAGS=-q
-PHANTOMJS= ./node_modules/phantomjs/bin/phantomjs
+PHANTOMJS= ./bomb.pl ./node_modules/phantomjs/bin/phantomjs
PHANTOMJS_URL= https://mkws-dev.indexdata.com/jasmine-popup.html
PHANTOMJS_TIMEOUT= 12
IMAGES= ./images
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 phantomjs
+node_modules node-modules:
+ npm install ${NPM_INSTALL_FLAGS}
help:
@echo "make [ all | check | clean | distclean ]"
@echo " [ phantomjs | screenshot ]"
@echo " [ jsbeautifier | node-modules ]"
+ @echo ""
+ @echo "DEBUG=1 make phantomjs PHANTOMJS_TIMEOUT=8 PHANTOM_URL=https://mkws-dev.indexdata.com/jasmine-popup.html"
+