Update makefile
This commit is contained in:
parent
cc24228511
commit
e49cb524a8
10
Makefile
10
Makefile
@ -39,15 +39,15 @@ test-acceptance: config/environments/test.js
|
|||||||
@echo "***tests***"
|
@echo "***tests***"
|
||||||
@$(SHELL) ./run_tests.sh ${RUNTESTFLAGS} $(TEST_SUITE_ACCEPTANCE)
|
@$(SHELL) ./run_tests.sh ${RUNTESTFLAGS} $(TEST_SUITE_ACCEPTANCE)
|
||||||
|
|
||||||
jshint:
|
lint:
|
||||||
@echo "***jshint***"
|
@echo "***eslint***"
|
||||||
@./node_modules/.bin/jshint lib/ test/ app.js
|
@./node_modules/.bin/eslint app.js "lib/**/*.js" "test/**/*.js"
|
||||||
|
|
||||||
test-all: test jshint
|
test-all: test lint
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
@RUNTESTFLAGS=--with-coverage make test
|
@RUNTESTFLAGS=--with-coverage make test
|
||||||
|
|
||||||
check: test
|
check: test
|
||||||
|
|
||||||
.PHONY: pre-install test jshint coverage
|
.PHONY: pre-install test lint coverage
|
||||||
|
Loading…
Reference in New Issue
Block a user