MOCHA=node_modules/.bin/mocha REPORTER=spec test: unit integration push: $(MOCHA) $(shell find test -name "push-test.js") --test --reporter $(REPORTER) config: $(MOCHA) $(shell find test -name "config-test.js") --test --reporter $(REPORTER) unit: $(MOCHA) $(shell find test -maxdepth 1 -name "*test.js") --test --reporter $(REPORTER) setup-sockets: $(MOCHA) $(shell find test -name "setup-sockets-test.js") --test --reporter $(REPORTER) integration: setup-sockets