SRC = $(shell find lib -type f -name "*.js") TESTS = test/*.js TESTTIMEOUT = 5000 REPORTER = spec test: @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) --timeout $(TESTTIMEOUT) $(TESTS) .PHONY: test