UNPKG

581 BPlain TextView Raw
1all:
2 @cp scripts/githooks/* .git/hooks/
3 @chmod -R +x .git/hooks/
4
5test: jshint
6 @./node_modules/.bin/istanbul cover \
7 ./node_modules/.bin/_mocha -- -R spec -t 20000 --require should --inline-diffs
8
9debug:
10 ./node_modules/.bin/_mocha -R spec -t 20000 --require should --inline-diffs
11
12jshint:
13 @./node_modules/.bin/jshint .
14
15clean:
16 @rm -fr .build
17 @find tests -name '.build' -exec rm -fr {} +
18 @find tests -name 'dist' -exec rm -fr {} +
19
20autod:
21 @./node_modules/.bin/autod -w -f '~' -e test/fixtures,tmp,lib/theme/static,lib/template -k co,inherits
22
23.PHONY: all test lint clean