Skip to content
This repository
Newer
Older
100644 26 lines (19 sloc) 0.51 kb
c565b879 » guille
2011-01-06 Added Makefile that contemplates testing, coverage analysis and doc g…
1
a764a391 » visionmedia
2011-04-18 added failing indexOf() test
2 TESTS = $(shell find test/ -name '*.test.js')
3
c565b879 » guille
2011-01-06 Added Makefile that contemplates testing, coverage analysis and doc g…
4 test:
b6216464 » aheckmann
2012-06-18 start using mocha
5 @./node_modules/.bin/mocha --reporter list $(TESTFLAGS) $(TESTS)
6 @node test/dropdb.js
7
8 test-old:
c565b879 » guille
2011-01-06 Added Makefile that contemplates testing, coverage analysis and doc g…
9 @NODE_ENV=test ./support/expresso/bin/expresso \
10 $(TESTFLAGS) \
a764a391 » visionmedia
2011-04-18 added failing indexOf() test
11 $(TESTS)
bcdd0336 » aheckmann
2011-11-19 drop test db after completion
12 @node test/dropdb.js
c565b879 » guille
2011-01-06 Added Makefile that contemplates testing, coverage analysis and doc g…
13
14 docs: docs/api.html
15
16 docs/api.html: lib/mongoose/*.js
17 dox \
18 --private \
19 --title Mongooose \
20 --desc "Expressive MongoDB for Node.JS" \
21 $(shell find lib/mongoose/* -type f) > $@
22
23 docclean:
24 rm -f docs/*.{1,html}
25
26 .PHONY: test test-cov docs docclean
Something went wrong with that request. Please try again.