UNPKG

mongoose

Version:

Mongoose MongoDB ORM

29 lines (21 loc) 515 B
TESTS = $(shell find test/ -name '*.test.js') test: @NODE_ENV=test ./support/expresso/bin/expresso \ -I lib \ -I support \ -I support/should.js/lib \ -I support/cli-table/lib \ $(TESTFLAGS) \ $(TESTS) 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