Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 323 Bytes
TESTS = test/*.js
BENCHMARKS = $(shell find bench -type f ! -name 'runner.js')
REPORTER = dot
test:
@./node_modules/.bin/mocha \
--require should \
--require $(shell pwd)/test/common \
--reporter $(REPORTER) \
--growl \
$(TESTS)
bench:
@node $(PROFILEFLAGS) bench/runner.js $(BENCHMARKS)
.PHONY: test bench