-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (28 loc) · 744 Bytes
/
Makefile
File metadata and controls
36 lines (28 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
default: test
jshint:
@echo "jshint"
@find . -name "*.js" -print0 | xargs -0 ./node_modules/.bin/jshint
circular:
@echo "circular"
@./node_modules/.bin/madge --circular --format amd --exclude "madge|source-map" .
mocha:
@echo "mocha (unit test)"
@TZ=UTC ./node_modules/.bin/mocha test/*.js
@echo
coverage:
@echo "cover"
@./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha test/*
@echo
mochait:
@echo "mocha (integreation test assumes running kdb+tick process on localhost:5000)"
@TZ=UTC ./node_modules/.bin/mocha -t 5000 itest/*.js
@echo
test: jshint mocha circular
@echo "test"
@echo
itest: jshint mocha mochait circular
@echo "test"
@echo
outdated:
@echo "outdated modules?"
@./node_modules/.bin/npmedge