arnaucube
arnaucube/raspberryGPIOhtmlserverPublic Self-hosted repository
raspberryGPIOhtmlserver/node_modules/express/Makefile
node_modules/express/MakefileRaw
 1
 2MOCHA_OPTS= --check-leaks
 3REPORTER = dot
 4
 5check: test
 6
 7test: test-unit test-acceptance
 8
 9test-unit:
10	@NODE_ENV=test ./node_modules/.bin/mocha \
11		--reporter $(REPORTER) \
12		$(MOCHA_OPTS)
13
14test-acceptance:
15	@NODE_ENV=test ./node_modules/.bin/mocha \
16		--reporter $(REPORTER) \
17		--bail \
18		test/acceptance/*.js
19
20test-cov: lib-cov
21	@EXPRESS_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
22
23lib-cov:
24	@jscoverage lib lib-cov
25
26benchmark:
27	@./support/bench
28
29clean:
30	rm -f coverage.html
31	rm -fr lib-cov
32
33.PHONY: test test-unit test-acceptance benchmark clean