Skip to content
This repository
tree: 34371445e7
Fetching contributors…

Cannot retrieve contributors at this time

file 26 lines (19 sloc) 0.51 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

TESTS = $(shell find test/ -name '*.test.js')

test:
@./node_modules/.bin/mocha --reporter list $(TESTFLAGS) $(TESTS)
@node test/dropdb.js

test-old:
@NODE_ENV=test ./support/expresso/bin/expresso \
$(TESTFLAGS) \
$(TESTS)
@node test/dropdb.js

docs: docs/api.html

docs/api.html: lib/mongoose/*.js
dox \
--private \
--title Mongooose \
--desc "Expressive MongoDB for Node.JS" \
$(shell find lib/mongoose/* -type f) > $@

docclean:
rm -f docs/*.{1,html}

.PHONY: test test-cov docs docclean
Something went wrong with that request. Please try again.