projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move "supported browsers" section up.
[mkws-moved-to-github.git]
/
test
/
Makefile
diff --git
a/test/Makefile
b/test/Makefile
index
88ebd68
..
a4b0389
100644
(file)
--- a/
test/Makefile
+++ b/
test/Makefile
@@
-2,11
+2,25
@@
all: check
all: check
-clean distclean:
+clean:
+
+distclean:
+ rm -rf node_modules
+
check:
check:
- jasmine-node ./spec
+ jasmine-node --captureExceptions --forceexit ./spec
+
test: check
test: check
+jsbeautifier jsb indent:
+ for i in ./spec/*.js ./js/*.js; do \
+ jsbeautifier -j $$i > $@.tmp && mv -f $@.tmp $$i; \
+ done
+
+node-modules: node_modules
+node_modules:
+ npm install jquery jsdom request jasmine-node
+
help:
help:
- @echo "make [ all | clean | check ]"
+ @echo "make [ all | clean | check | jsbeautifier | node-modules ]"