UNPKG

node-cluster

Version:

A graceful node library to contribute a permanent "master-worker" server.

15 lines (11 loc) 364 B
SRC = $(shell find lib -type f -name "*.js") TESTS = test/*.js TESTTIMEOUT = 10000 VERSION = $(shell date +%Y%m%d%H%M%S) test: @NODE_ENV=test ./node_modules/mocha/bin/mocha \ --reporter spec --timeout $(TESTTIMEOUT) $(TESTS) cov: @JSCOV=1 ./node_modules/mocha/bin/mocha \ --reporter html-cov --timeout $(TESTTIMEOUT) $(TESTS) > coverage.html .PHONY: test