Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 3.6.0rc1
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (30 sloc) 0.911 kb
TESTS = $(shell find test/ -name '*.test.js')
DOCS_ = $(shell find lib/ -name '*.js')
DOCS = $(DOCS_:.js=.json)
DOCFILE = docs/source/_docs
test:
@node test/dropdb.js
@./node_modules/.bin/mocha $(T) --async-only $(TESTS)
@node test/dropdb.js
test-short:
@node test/dropdb.js
@./node_modules/.bin/mocha $(T) -g LONG -i --async-only $(TESTS)
@node test/dropdb.js
test-long:
@./node_modules/.bin/mocha $(T) -g LONG --async-only $(TESTS)
docs: ghpages docclean gendocs
docs_from_master: docclean gendocs
gendocs: $(DOCFILE)
$(DOCFILE): $(DOCS)
node website.js
%.json: %.js
@echo "\n### $(patsubst lib//%,lib/%, $^)" >> $(DOCFILE)
./node_modules/dox/bin/dox < $^ >> $(DOCFILE)
site:
node website.js && node static.js
ghpages:
git checkout gh-pages && git merge master
docclean:
rm -f ./docs/*.{1,html,json}
rm -f ./docs/source/_docs
.PHONY: test site docs docclean gendocs docs_from_master
Jump to Line
Something went wrong with that request. Please try again.