tune screenshot size
authorWolfram Schneider <wosch@indexdata.dk>
Mon, 3 Feb 2014 17:53:35 +0000 (18:53 +0100)
committerWolfram Schneider <wosch@indexdata.dk>
Mon, 3 Feb 2014 17:53:35 +0000 (18:53 +0100)
test/Makefile

index 2c83086..984ce85 100644 (file)
@@ -33,7 +33,7 @@ phantomjs:
        ${PHANTOMJS} phantom/evaluate.js ${PHANTOMJS_URL} ${PHANTOMJS_TIMEOUT}
 
 screenshot:
-       ${PHANTOMJS} phantom/screenshot.js ${PHANTOMJS_URL} ${IMAGES}/screenshot.png 1200
+       ${PHANTOMJS} phantom/screenshot.js ${PHANTOMJS_URL} ${IMAGES}/screenshot.png 1200 1000
 
 jsbeautifier jsb indent:
        for i in ./spec*/*.js ./js/*.js ./phantom/*.js; do \
@@ -45,5 +45,6 @@ node_modules:
        npm install ${NPM_INSTALL_FLAGS} jQuery xmlhttprequest jsdom request jasmine-node phantomjs
 
 help:
-       @echo "make [ all | check | phantomjs | clean | distclean ]"
+       @echo "make [ all | check | clean | distclean ]"
+       @echo "     [ phantomjs | screenshot ]"
        @echo "     [ jsbeautifier | node-modules ]"