From: Wolfram Schneider Date: Mon, 3 Feb 2014 17:52:24 +0000 (+0100) Subject: new target screenshots X-Git-Tag: 1.0.0~1529^2~11 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=0b59d256dbe318de407c748d0468f0e56e39a01d new target screenshots --- diff --git a/test/Makefile b/test/Makefile index 7e38ebc..2c83086 100644 --- a/test/Makefile +++ b/test/Makefile @@ -6,6 +6,7 @@ NPM_INSTALL_FLAGS=-q PHANTOMJS= ./node_modules/phantomjs/bin/phantomjs PHANTOMJS_URL= https://mkws-dev.indexdata.com/jasmine-popup.html PHANTOMJS_TIMEOUT= 12 +IMAGES= ./images all: check @@ -31,6 +32,9 @@ terse: phantomjs: ${PHANTOMJS} phantom/evaluate.js ${PHANTOMJS_URL} ${PHANTOMJS_TIMEOUT} +screenshot: + ${PHANTOMJS} phantom/screenshot.js ${PHANTOMJS_URL} ${IMAGES}/screenshot.png 1200 + jsbeautifier jsb indent: for i in ./spec*/*.js ./js/*.js ./phantom/*.js; do \ jsbeautifier -j $$i > $@.tmp && mv -f $@.tmp $$i; \