2012-07-13 00:08:21 +08:00
|
|
|
all:
|
|
|
|
npm install
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf node_modules/*
|
|
|
|
|
|
|
|
check:
|
|
|
|
npm test
|
2015-05-13 00:33:57 +08:00
|
|
|
|
|
|
|
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
|