Skip to content
Myr

Makefile

This file

Path

Makefile

52 lines · 1000 bytes

Last changed by

Added `make site`Tj Holowaychukbefore adoption0d4eaf0

History of this file

Take it

The walk stopped after 200 commits: lines older than 0af9126 point at it.

Added default param support to req.param(name, default)Tj Holowaychukbefore adoption0af9126

lines 1–26why, one step back
1
2DOCS = docs/index.md \3 docs/screencasts.md \4 docs/executable.md \5 docs/contrib.md \6 docs/guide.md \7 docs/migrate.md \8 docs/applications.md910MANPAGES =$(DOCS:.md=.1)11HTMLDOCS =$(DOCS:.md=.html)1213test:14 @NODE_ENV=test ./support/expresso/bin/expresso \15 -I lib \16 -I support \17 -I support/connect/lib \18 -I support/haml/lib \19 -I support/jade/lib \20 -I support/ejs/lib \21 $(TESTFLAGS) \22 test/*.test.js2324test-cov:25 @TESTFLAGS=--cov $(MAKE) test26

removed api.htmlTj Holowaychukbefore adoption4da860e

line 27why, one step back
27docs: $(MANPAGES) $(HTMLDOCS)

Added default param support to req.param(name, default)Tj Holowaychukbefore adoption0af9126

lines 28–41why, one step back
28 @ echo "... generating TOC"
29 @./support/toc.js docs/guide.html3031%.1: %.md32 @echo "... $< -> $@"33 @ronn -r --pipe $< > $@3435%.html: %.md36 @echo "... $< -> $@"37 @ronn -5 --pipe --fragment $< \38 | cat docs/layout/head.html - docs/layout/foot.html \39 | sed 's/NAME/Express/g' \40 > $@41

Added `make site`Tj Holowaychukbefore adoption0d4eaf0

lines 42–48why, one step back
42site:
43 rm -fr /tmp/docs \44 && cp -fr docs /tmp/docs \45 && git checkout gh-pages \46 && cp -fr /tmp/docs/* . \47 && echo "done"48

Added default param support to req.param(name, default)Tj Holowaychukbefore adoption0af9126

lines 49–51why, one step back
49docclean:
50 rm -f docs/*.{1,html}51

Added `make site`Tj Holowaychukbefore adoption0d4eaf0

line 52why, one step back
52.PHONY: site test test-cov docs docclean