Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 39 lines (31 sloc) 0.725 kB
35e2f6b @tj NODE makefile
tj authored
1
eefe51c @tj removed manpages from make
tj authored
2 DOCS = $(shell find docs/*.md)
939cf45 @tj Added `make docs`
tj authored
3 HTMLDOCS =$(DOCS:.md=.html)
4
2932bf5 @tj make test / make init distinction
tj authored
5 test:
03b56d8 @tj Implement NODE_ENV, EXPRESS_ENV is now deprecated
tj authored
6 @NODE_ENV=test ./support/expresso/bin/expresso \
25e7967 @tj Added Connect submodule
tj authored
7 -I lib \
643879f @tj using should / refactored tests
tj authored
8 -I support \
25e7967 @tj Added Connect submodule
tj authored
9 -I support/connect/lib \
dc5caeb @tj Added haml test
tj authored
10 -I support/haml/lib \
0ffbc6e @tj Added jade submodule
tj authored
11 -I support/jade/lib \
b095a42 @tj Added ejs submodule
tj authored
12 -I support/ejs/lib \
0515e14 @tj Added `make test-cov`
tj authored
13 $(TESTFLAGS) \
25e7967 @tj Added Connect submodule
tj authored
14 test/*.test.js
903f67a @tj Started utils.parseRange()
tj authored
15
0515e14 @tj Added `make test-cov`
tj authored
16 test-cov:
17 @TESTFLAGS=--cov $(MAKE) test
3fd7e3b @tj Added `make prof` so that we can generate v8.log and analyse the output
tj authored
18
eefe51c @tj removed manpages from make
tj authored
19 docs: $(HTMLDOCS)
0cdc836 @tj Generating TOC
tj authored
20 @ echo "... generating TOC"
21 @./support/toc.js docs/guide.html
939cf45 @tj Added `make docs`
tj authored
22
23 %.html: %.md
24 @echo "... $< -> $@"
a75e60a @tj fixed docs due to markdown-js not supporting html
tj authored
25 @markdown $< \
29641ae @tj Started new docs
tj authored
26 | cat docs/layout/head.html - docs/layout/foot.html \
0cdc836 @tj Generating TOC
tj authored
27 > $@
939cf45 @tj Added `make docs`
tj authored
28
0d4eaf0 @tj Added `make site`
tj authored
29 site:
30 rm -fr /tmp/docs \
31 && cp -fr docs /tmp/docs \
32 && git checkout gh-pages \
33 && cp -fr /tmp/docs/* . \
34 && echo "done"
35
939cf45 @tj Added `make docs`
tj authored
36 docclean:
37 rm -f docs/*.{1,html}
38
0d4eaf0 @tj Added `make site`
tj authored
39 .PHONY: site test test-cov docs docclean
Something went wrong with that request. Please try again.