Makefile with testing targets
This commit is contained in:
parent
d108225001
commit
b6f71eb180
11
Makefile
11
Makefile
@ -6,3 +6,14 @@ clean:
|
||||
|
||||
check:
|
||||
npm test
|
||||
|
||||
test:
|
||||
test/run_tests.sh ${RUNTESTFLAGS} test/unit/*.js test/unit/model/*.js test/acceptance/*.js test/acceptance/export/*.js
|
||||
|
||||
test-unit:
|
||||
test/run_tests.sh ${RUNTESTFLAGS} test/unit/*.js test/unit/model/*.js
|
||||
|
||||
test-acceptance:
|
||||
test/run_tests.sh ${RUNTESTFLAGS} test/acceptance/*.js test/acceptance/export/*.js
|
||||
|
||||
.PHONY: test
|
||||
|
@ -37,7 +37,7 @@
|
||||
"libxmljs": "~0.8.1"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "test/run_tests.sh ${RUNTESTFLAGS} test/unit/*.js test/unit/model/*.js test/acceptance/*.js test/acceptance/export/*.js"
|
||||
"test": "make test"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.8 <0.11",
|
||||
|
Loading…
Reference in New Issue
Block a user