Revision 94ecfb3bbccf4fad1b677afc978b9229d4d15639 authored by Andreas Richter on 26 February 2012, 19:51:13 UTC, committed by Aaron Heckmann on 27 February 2012, 18:25:03 UTC
1 parent f1db0c4
Raw File
Makefile

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

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

test-cov:
	@TESTFLAGS=--cov $(MAKE) test

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