From 686106d544ecc3b6ffd4db2b665d3bc879a58d8c Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 24 Sep 2012 16:22:07 -0400 Subject: ok --- node_modules/mongoose/Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 node_modules/mongoose/Makefile (limited to 'node_modules/mongoose/Makefile') diff --git a/node_modules/mongoose/Makefile b/node_modules/mongoose/Makefile new file mode 100644 index 0000000..cdbcc19 --- /dev/null +++ b/node_modules/mongoose/Makefile @@ -0,0 +1,25 @@ + +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 -- cgit v1.2.3-70-g09d2