Files
socket.io/Makefile
Guillermo Rauch 1e889b9a01 No growl.
2012-03-14 12:55:57 -03:00

24 lines
440 B
Makefile

TESTS = test/*.js
BENCHMARKS = $(shell find bench -type f ! -name 'runner.js')
REPORTER = dot
test:
@./node_modules/.bin/mocha \
--require test/common \
--reporter $(REPORTER) \
--slow 500ms \
--bail \
$(TESTS)
test-cov: lib-cov
EIO_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
lib-cov:
jscoverage --no-highlight lib lib-cov
bench:
@node $(PROFILEFLAGS) bench/runner.js $(BENCHMARKS)
.PHONY: test test-cov bench