Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 36 lines (28 sloc) 0.618 kB
35e2f6b @tj NODE makefile
tj authored
1
b8a589d @tj first new test
tj authored
2 DOCS = docs/*.md
3 HTMLDOCS = $(DOCS:.md=.html)
4 TESTS = test/*.js
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 \
8 --require should \
9 --reporter dot \
10 --growl \
80e9ffb @tj Refactored router. Closes #639
tj authored
11 $(TESTS)
903f67a @tj Started utils.parseRange()
tj authored
12
eefe51c @tj removed manpages from make
tj authored
13 docs: $(HTMLDOCS)
0cdc836 @tj Generating TOC
tj authored
14 @ echo "... generating TOC"
15 @./support/toc.js docs/guide.html
939cf45 @tj Added `make docs`
tj authored
16
17 %.html: %.md
18 @echo "... $< -> $@"
a75e60a @tj fixed docs due to markdown-js not supporting html
tj authored
19 @markdown $< \
29641ae @tj Started new docs
tj authored
20 | cat docs/layout/head.html - docs/layout/foot.html \
0cdc836 @tj Generating TOC
tj authored
21 > $@
939cf45 @tj Added `make docs`
tj authored
22
0d4eaf0 @tj Added `make site`
tj authored
23 site:
24 rm -fr /tmp/docs \
25 && cp -fr docs /tmp/docs \
26 && git checkout gh-pages \
27 && cp -fr /tmp/docs/* . \
28 && echo "done"
29
e3aabdc @tj Added `make benchmark` for experimental continuous-benchmarking tool
tj authored
30 benchmark:
31 @./support/bench
32
939cf45 @tj Added `make docs`
tj authored
33 docclean:
34 rm -f docs/*.{1,html}
35
b8a589d @tj first new test
tj authored
36 .PHONY: site test benchmark docs docclean
Something went wrong with that request. Please try again.