projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1f5c585
)
new target screenshots
author
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 3 Feb 2014 17:52:24 +0000
(18:52 +0100)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 3 Feb 2014 17:52:24 +0000
(18:52 +0100)
test/Makefile
patch
|
blob
|
history
diff --git
a/test/Makefile
b/test/Makefile
index
7e38ebc
..
2c83086
100644
(file)
--- 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
PHANTOMJS= ./node_modules/phantomjs/bin/phantomjs
PHANTOMJS_URL= https://mkws-dev.indexdata.com/jasmine-popup.html
PHANTOMJS_TIMEOUT= 12
+IMAGES= ./images
all: check
all: check
@@
-31,6
+32,9
@@
terse:
phantomjs:
${PHANTOMJS} phantom/evaluate.js ${PHANTOMJS_URL} ${PHANTOMJS_TIMEOUT}
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; \
jsbeautifier jsb indent:
for i in ./spec*/*.js ./js/*.js ./phantom/*.js; do \
jsbeautifier -j $$i > $@.tmp && mv -f $@.tmp $$i; \