Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Forgot the makefile ;)

  • Loading branch information...
commit 7f18a969e9152c6798c53e4522370f9900b13133 1 parent 6098ce8
@ciaranj authored
Showing with 7 additions and 4 deletions.
  1. +7 −4 Makefile
View
11 Makefile
@@ -1,11 +1,14 @@
NODE = node
-
-all: test
+TEST = support/expresso/bin/expresso
+TESTS ?= test/*.test.js
test:
- @$(NODE) spec/node.js all
+ @CONNECT_ENV=test ./$(TEST) -I lib $(TEST_FLAGS) $(TESTS)
+
+test-cov:
+ @$(MAKE) test TEST_FLAGS="--cov"
app:
@$(NODE) examples/app.js
-.PHONY: test app
+.PHONY: test test-cov app
Please sign in to comment.
Something went wrong with that request. Please try again.