use Makefile command shortcuts

This commit is contained in:
Sebastian McKenzie 2015-01-01 22:33:30 +11:00
parent 0ebc073762
commit fac4a61245

View File

@ -21,8 +21,7 @@ lint:
test-clean: test-clean:
rm -rf test/tmp rm -rf test/tmp
test: test: lint
make lint
$(MOCHA_CMD) $(MOCHA_CMD)
make test-clean make test-clean
@ -33,8 +32,7 @@ test-cov:
test-spec: test-spec:
node $(ISTANBUL_CMD) $(MOCHA_CMD) -- --reporter spec node $(ISTANBUL_CMD) $(MOCHA_CMD) -- --reporter spec
test-travis: test-travis: test-spec
make test-spec
if test -n "$$CODECLIMATE_REPO_TOKEN"; then codeclimate < coverage/lcov.info; fi if test -n "$$CODECLIMATE_REPO_TOKEN"; then codeclimate < coverage/lcov.info; fi
test-browser: test-browser: