forked from spmjs/spm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
36 lines (29 loc) · 749 Bytes
/
Makefile
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
TESTS = tests/actions/*.js
REPORTER = dot
test: test-actions test-core test-plugins test-utils
test-actions:
@NODE_ENV=test ./node_modules/.bin/mocha \
--reporter $(REPORTER) \
--timeout 20000 \
--globals ret \
--require should \
test/actions/*.js
test-core:
@NODE_ENV=test ./node_modules/.bin/mocha \
--reporter $(REPORTER) \
--require should \
--timeout 10000 \
test/core/*.js
test-plugins:
@NODE_ENV=test ./node_modules/.bin/mocha \
--reporter $(REPORTER) \
--require should \
--timeout 10000 \
test/plugins/*.js
test-utils:
@NODE_ENV=test ./node_modules/.bin/mocha \
--reporter $(REPORTER) \
--require should \
--timeout 10000 \
test/utils/*.js
.PHONY: test-actions test-core test-plugins test-utils