Files
socket.io/Makefile
2011-06-13 12:36:27 -03:00

20 lines
290 B
Makefile

ALL_TESTS = $(shell find test/ -name '*.test.js')
run-tests:
@npm link > /dev/null
@./node_modules/.bin/expresso \
-I support \
-I lib \
--serial \
$(TESTFLAGS) \
$(TESTS)
test:
@$(MAKE) TESTS="$(ALL_TESTS)" run-tests
test-cov:
@TESTFLAGS=--cov $(MAKE) test
.PHONY: test