https://github.com/Automattic/mongoose
Raw File
Tip revision: 3403106423cf697da33ea28c663c9c7e4030528b authored by Aaron Heckmann on 14 March 2013, 17:12:50 UTC
release 2.9.10
Tip revision: 3403106
Makefile

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

test:
	@time ./node_modules/.bin/mocha $(T) $(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
back to top