Stop using jshint
This commit is contained in:
parent
5a96dbb59c
commit
eedf220acd
8
Makefile
8
Makefile
@ -9,9 +9,9 @@ clean:
|
|||||||
check:
|
check:
|
||||||
npm test
|
npm test
|
||||||
|
|
||||||
jshint:
|
eslint:
|
||||||
@echo "***jshint***"
|
@echo "***eslint***"
|
||||||
@./node_modules/.bin/jshint lib/ test/ app.js
|
@./node_modules/.bin/eslint lib/**/*.js test/**/*.js app.js
|
||||||
|
|
||||||
TEST_SUITE := $(shell find test/{unit,integration,acceptance} -name "*.js")
|
TEST_SUITE := $(shell find test/{unit,integration,acceptance} -name "*.js")
|
||||||
TEST_SUITE_UNIT := $(shell find test/unit -name "*.js")
|
TEST_SUITE_UNIT := $(shell find test/unit -name "*.js")
|
||||||
@ -39,7 +39,7 @@ test-batch:
|
|||||||
@echo "***batch queries tests***"
|
@echo "***batch queries tests***"
|
||||||
@$(SHELL) test/run_tests.sh ${RUNTESTFLAGS} $(TEST_SUITE_BATCH)
|
@$(SHELL) test/run_tests.sh ${RUNTESTFLAGS} $(TEST_SUITE_BATCH)
|
||||||
|
|
||||||
test-all: test jshint
|
test-all: test eslint
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
@RUNTESTFLAGS=--with-coverage make test
|
@RUNTESTFLAGS=--with-coverage make test
|
||||||
|
Loading…
Reference in New Issue
Block a user