1 | all:
|
2 | @cp scripts/githooks/* .git/hooks/
|
3 | @chmod -R +x .git/hooks/
|
4 |
|
5 | test: jshint
|
6 | @./node_modules/.bin/istanbul cover \
|
7 | ./node_modules/.bin/_mocha -- -R spec -t 20000 --require should --inline-diffs
|
8 |
|
9 | debug:
|
10 | ./node_modules/.bin/_mocha -R spec -t 20000 --require should --inline-diffs
|
11 |
|
12 | jshint:
|
13 | @./node_modules/.bin/jshint .
|
14 |
|
15 | clean:
|
16 | @rm -fr .build
|
17 | @find tests -name '.build' -exec rm -fr {} +
|
18 | @find tests -name 'dist' -exec rm -fr {} +
|
19 |
|
20 | autod:
|
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
|