Permalink
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (15 sloc) 374 Bytes
test: install-dev
node_modules/mocha/bin/mocha -b -u bdd test/default
auto-test: install-dev
node_modules/mocha/bin/mocha -b -u bdd -w test/default
install:
make clean
npm install --production
install-dev:
ifeq ($(wildcard node_modules/mocha),)
make clean
npm install
endif
clean:
rm -rf node_modules install-dev
.PHONY: test auto-test install install-dev clean