forked from dresende/node-orm2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
18 lines (15 loc) · 452 Bytes
/
Makefile
File metadata and controls
18 lines (15 loc) · 452 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
test:
ORM_PROTOCOL=mysql node test/run
ORM_PROTOCOL=postgres node test/run
ORM_PROTOCOL=redshift node test/run
ORM_PROTOCOL=sqlite node test/run
ORM_PROTOCOL=mongodb node test/run
coverage: cov
cov:
rm -rf lib-cov
jscoverage lib lib-cov
mv package.json test/support/
cp test/support/coverage-package.json package.json
ORM_PROTOCOL=mysql mocha -R html-cov test/integration/ > test/coverage.html
mv test/support/package.json .
.PHONY: test