Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 34 lines (23 sloc) 0.653 kb
c565b87 @rauchg Added Makefile that contemplates testing, coverage analysis and doc gene...
rauchg authored
1
a764a39 @tj added failing indexOf() test
tj authored
2 TESTS = $(shell find test/ -name '*.test.js')
7d14641 @aheckmann docs
aheckmann authored
3 DOCS_ = $(shell find lib/ -name '*.js')
4 DOCS = $(DOCS_:.js=.json)
5 DOCFILE = docs/source/_docs
a764a39 @tj added failing indexOf() test
tj authored
6
c565b87 @rauchg Added Makefile that contemplates testing, coverage analysis and doc gene...
rauchg authored
7 test:
cb22440 @aheckmann test; drop db before running
aheckmann authored
8 @node test/dropdb.js
046e26c @aheckmann tests; time em
aheckmann authored
9 @time ./node_modules/.bin/mocha $(T) $(TESTS)
b621646 @aheckmann start using mocha
aheckmann authored
10 @node test/dropdb.js
11
4d87ee7 @aheckmann docs; gen on gh-pages
aheckmann authored
12 docs: ghpages docclean gendocs
c3fbef2 @aheckmann update make
aheckmann authored
13
14 gendocs: $(DOCFILE)
12f54ed @aheckmann make newsite
aheckmann authored
15
7d14641 @aheckmann docs
aheckmann authored
16 $(DOCFILE): $(DOCS)
17 node website.js
ebae145 @aheckmann merge newdocs with master
aheckmann authored
18
3b61c5f @aheckmann make rules for dox
aheckmann authored
19 %.json: %.js
20 @echo "\n### $(patsubst lib//%,lib/%, $^)" >> $(DOCFILE)
21 ./node_modules/dox/bin/dox < $^ >> $(DOCFILE)
c565b87 @rauchg Added Makefile that contemplates testing, coverage analysis and doc gene...
rauchg authored
22
3b61c5f @aheckmann make rules for dox
aheckmann authored
23 site:
0a75f97 @aheckmann make site
aheckmann authored
24 node website.js && node static.js
c565b87 @rauchg Added Makefile that contemplates testing, coverage analysis and doc gene...
rauchg authored
25
4d87ee7 @aheckmann docs; gen on gh-pages
aheckmann authored
26 ghpages:
27 git checkout gh-pages && git merge master
28
c565b87 @rauchg Added Makefile that contemplates testing, coverage analysis and doc gene...
rauchg authored
29 docclean:
3b61c5f @aheckmann make rules for dox
aheckmann authored
30 rm -f ./docs/*.{1,html,json}
0b1584b @aheckmann docs
aheckmann authored
31 rm -f ./docs/source/_docs
c565b87 @rauchg Added Makefile that contemplates testing, coverage analysis and doc gene...
rauchg authored
32
c3fbef2 @aheckmann update make
aheckmann authored
33 .PHONY: test site docs docclean gendocs
Something went wrong with that request. Please try again.