workforce
Version:
A cluster manager inspired by Learnboost's cluster.
19 lines (14 loc) • 342 B
Plain Text
REPORTER = spec
TESTS = $(wildcard test/test.*.js)
test:
@NODE_ENV=test ./node_modules/.bin/mocha $(TESTS) \
--require "should" \
--growl \
--reporter $(REPORTER)
test-cov: lib-cov
@WORKFORCE_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
lib-cov:
@jscoverage lib lib-cov
clean:
@rm -rf lib-cov coverage.html