-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
37 lines (30 loc) · 759 Bytes
/
makefile
File metadata and controls
37 lines (30 loc) · 759 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
REPORTER = dot
check: test
test: test-unit
test-unit:
@NODE_ENV=test ./node_modules/.bin/mocha \
--compilers coffee:coffee-script \
--recursive \
--reporter $(REPORTER) \
test/unit
test-functional:
@NODE_ENV=test mocha \
--compilers coffee:coffee-script \
--recursive \
--reporter $(REPORTER) \
--timeout 2000 \
test/functional
test-unit-report:
@NODE_ENV=test ./node_modules/.bin/mocha \
--compilers coffee:coffee-script \
--recursive \
--reporter markdown \
test/unit > ./test-unit.md
test-functional-report:
@NODE_ENV=test mocha \
--compilers coffee:coffee-script \
--recursive \
--reporter markdown \
--timeout 2000 \
test/functional > ./test-functional.md
.PHONY: test test-unit test-functional test-report