Skip to content
Myr

Makefile

This file

Path

Makefile

36 lines · 659 bytes

Last changed by

`make test` now runs unit / acceptance testsTJ Holowaychukbefore adoptionbabeb46

History of this file

Take it

12REPORTER = dot34docs: docs/express.md56docs/express.md: docs/application.md docs/request.md docs/response.md7	cat $^ > $@89docs/%.md: lib/%.js10	@mkdir -p docs11	dox --raw < $< | ./support/docs > $@1213test: test-unit test-acceptance1415test-unit:16	@NODE_ENV=test ./node_modules/.bin/mocha \17		--reporter $(REPORTER)1819test-acceptance:20	@NODE_ENV=test ./node_modules/.bin/mocha \21		--reporter $(REPORTER) \22		test/acceptance/*.js2324test-cov: lib-cov25	@EXPRESS_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html2627lib-cov:28	@jscoverage lib lib-cov2930docclean:31	rm -fr docs3233benchmark:34	@./support/bench3536.PHONY: docs docclean test test-unit test-acceptance benchmark