aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 5d798daa9a4a2e0b42c909a608928fe6a7eb6350 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
REPORTER := spec

.PHONY: test
test:
	./node_modules/mocha/bin/mocha \
		--ui tdd \
		--reporter $(REPORTER) \
		--growl test/helper.js \
		test/webcals/sax/*_test.js \
		test/webcals/templates/*_test.js \
		test/webcals/request/*_test.js \
		test/webcals/*_test.js

.PHONY: watch
FILES=
watch:
	./node_modules/mocha/bin/mocha \
		--ui tdd \
		--reporter $(REPORTER) \
		--watch \
		--growl \
		test/helper.js $(FILES)