-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (32 loc) · 702 Bytes
/
Makefile
File metadata and controls
40 lines (32 loc) · 702 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
37
38
39
40
SRC = lib/*.js
include node_modules/make-lint/index.mk
TESTS = test/application \
test/context/* \
test/request/* \
test/response/*
test:
@NODE_ENV=test ./node_modules/.bin/mocha \
--require should \
--harmony-generators \
$(TESTS) \
--bail
test-cov:
@NODE_ENV=test node --harmony-generators \
node_modules/.bin/istanbul cover \
./node_modules/.bin/_mocha \
-- -u exports \
--require should \
$(TESTS) \
--bail
test-travis:
@NODE_ENV=test node --harmony-generators \
node_modules/.bin/istanbul cover \
./node_modules/.bin/_mocha \
--report lcovonly \
-- -u exports \
--require should \
$(TESTS) \
--bail
bench:
@$(MAKE) -C benchmarks
.PHONY: test bench