Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 38 lines (29 sloc) 0.698 kb
35e2f6b @tj NODE makefile
tj authored
1
b8a589d @tj first new test
tj authored
2 DOCS = docs/*.md
3 HTMLDOCS = $(DOCS:.md=.html)
c96b778 @tj dot reporter
tj authored
4 REPORTER = dot
939cf45 @tj Added `make docs`
tj authored
5
2932bf5 @tj make test / make init distinction
tj authored
6 test:
b8a589d @tj first new test
tj authored
7 @NODE_ENV=test ./node_modules/.bin/mocha \
dd7af29 @tj mocha.opts
tj authored
8 --reporter $(REPORTER)
903f67a @tj Started utils.parseRange()
tj authored
9
29ef828 @tj added first batch of acceptance tests for examples
tj authored
10 test-acceptance:
dd7af29 @tj mocha.opts
tj authored
11 @NODE_ENV=test ./node_modules/.bin/mocha \
12 --reporter spec \
13 test/acceptance/*.js
29ef828 @tj added first batch of acceptance tests for examples
tj authored
14
eefe51c @tj removed manpages from make
tj authored
15 docs: $(HTMLDOCS)
0cdc836 @tj Generating TOC
tj authored
16 @ echo "... generating TOC"
17 @./support/toc.js docs/guide.html
939cf45 @tj Added `make docs`
tj authored
18
19 %.html: %.md
20 @echo "... $< -> $@"
a75e60a @tj fixed docs due to markdown-js not supporting html
tj authored
21 @markdown $< \
29641ae @tj Started new docs
tj authored
22 | cat docs/layout/head.html - docs/layout/foot.html \
0cdc836 @tj Generating TOC
tj authored
23 > $@
939cf45 @tj Added `make docs`
tj authored
24
0d4eaf0 @tj Added `make site`
tj authored
25 site:
26 rm -fr /tmp/docs \
27 && cp -fr docs /tmp/docs \
28 && git checkout gh-pages \
29 && cp -fr /tmp/docs/* . \
30 && echo "done"
31
e3aabdc @tj Added `make benchmark` for experimental continuous-benchmarking tool
tj authored
32 benchmark:
33 @./support/bench
34
939cf45 @tj Added `make docs`
tj authored
35 docclean:
36 rm -f docs/*.{1,html}
37
29ef828 @tj added first batch of acceptance tests for examples
tj authored
38 .PHONY: site test benchmark docs docclean test-acceptance
Something went wrong with that request. Please try again.