Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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