source: Dev/trunk/src/node_modules/express/Makefile @ 536

Last change on this file since 536 was 484, checked in by hendrikvanantwerpen, 11 years ago

Commit node_modules, to make checkouts and builds more deterministic.

File size: 558 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.