Revision 0d87b114581c7c15d567a4ce6a80f181bfd36860 authored by Chris Leishman on 21 March 2012, 01:09:27 UTC, committed by Chris Leishman on 21 March 2012, 01:09:27 UTC
This is consistent with normal javascript Array behaviour
1 parent ec68049
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