UNPKG

561 BPlain TextView Raw
1REPORTER = spec
2
3all: build
4
5build:
6 @./node_modules/coffee-script/bin/coffee \
7 -c \
8 -o lib src
9
10test-tdd:
11 @./node_modules/.bin/mocha \
12 --reporter $(REPORTER) \
13 --ui tdd \
14 test/tdd/*.js
15
16test-bdd:
17 @./node_modules/.bin/mocha \
18 --reporter $(REPORTER) \
19 --require should \
20 --ui bdd \
21 test/*.js
22
23test-bdd-coffee:
24 @./node_modules/.bin/mocha \
25 --compilers coffee:coffee-script \
26 --reporter $(REPORTER) \
27 --require should \
28 --ui bdd \
29 test/*.coffee
30
31
32test-all: test-bdd test-bdd-coffee
33
34.PHONY: test-all