use Makefile command shortcuts
This commit is contained in:
parent
0ebc073762
commit
fac4a61245
6
Makefile
6
Makefile
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user