-
Notifications
You must be signed in to change notification settings - Fork 25
/
Makefile
18 lines (13 loc) · 1.04 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
test:
./node_modules/qunit/bin/cli.js -c ./lib/express.js -t ./test/express.js -l "{globalSummary: true}"
NODE_ENV=production ./node_modules/qunit/bin/cli.js -c ./lib/express.js -t ./test/express.js -l "{globalSummary: true}"
./node_modules/qunit/bin/cli.js -c ./lib/jqtpl.js -t ./test/jqtpl.js -l "{globalSummary: true}"
test-jqtpl:
./node_modules/qunit/bin/cli.js -c ./lib/jqtpl.js -t ./test/jqtpl.js -l "{assertions: true, globalSummary: true, errors: true}"
test-tags:
NODE_PATH=$(CURDIR)/lib ./node_modules/qunit/bin/cli.js -d lib/tags/tr.js lib/tags/verbatim.js -c ./lib/jqtpl.js -t ./test/tags.js -l "{assertions: true, globalSummary: true, errors: true}"
test-express:
./node_modules/qunit/bin/cli.js -c ./lib/express.js -t ./test/express.js -l "{assertions: true, globalSummary: true, errors: true}"
test-express-production:
NODE_ENV=production ./node_modules/qunit/bin/cli.js -c ./lib/express.js -t ./test/express.js -l "{assertions: true, globalSummary: true, errors: true}"
.PHONY: test test-jqtpl test-express test-express-production