diff --git a/.gitignore b/.gitignore index 765c0469..9bf422d0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .DS_Store +lib-cov *.seed *.log *.csv diff --git a/Makefile b/Makefile index d8a2b545..b6e2adc3 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,10 @@ test: -I support/connect/lib \ -I support/haml/lib \ -I support/jade/lib \ + $(TESTFLAGS) \ test/*.test.js +test-cov: + @TESTFLAGS=--cov $(MAKE) test docs: docs/api.html $(MANPAGES) $(HTMLDOCS) @@ -55,4 +58,4 @@ docs/api.html: lib/express/*.js docclean: rm -f docs/*.{1,html} -.PHONY: install uninstall install-docs install-support uninstall-support test docs docclean \ No newline at end of file +.PHONY: install uninstall install-docs install-support uninstall-support test test-cov docs docclean \ No newline at end of file