From 0b59d256dbe318de407c748d0468f0e56e39a01d Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Mon, 3 Feb 2014 18:52:24 +0100 Subject: [PATCH] new target screenshots --- test/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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; \ -- 1.7.10.4