Added make test-cov

This commit is contained in:
Tj Holowaychuk
2010-07-08 14:49:13 -07:00
parent ddbef0bd79
commit 0515e14d27
2 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,5 @@
.DS_Store
lib-cov
*.seed
*.log
*.csv

View File

@@ -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
.PHONY: install uninstall install-docs install-support uninstall-support test test-cov docs docclean