Makefile
This file
Path
Makefile
40 lines · 762 bytes
Last changed by
regenerated docsTj Holowaychukbefore adoptiondd7158a
History of this fileTake it
12DOCS = $(shell find docs/*.md)3HTMLDOCS =$(DOCS:.md=.html)45test:6 @NODE_ENV=test ./support/expresso/bin/expresso \7 -I lib \8 -I support \9 -I support/connect/lib \10 -I support/haml/lib \11 -I support/jade/lib \12 -I support/ejs/lib \13 $(TESTFLAGS) \14 test/*.test.js1516test-cov:17 @TESTFLAGS=--cov $(MAKE) test1819docs: $(HTMLDOCS)20 @ echo "... generating TOC"21 @./support/toc.js docs/guide.html2223%.html: %.md24 @echo "... $< -> $@"25 @ronn --fragment $< \26 | cat docs/layout/head.html - docs/layout/foot.html \27 | sed 's/NAME/Express/g' \28 > $@2930site:31 rm -fr /tmp/docs \32 && cp -fr docs /tmp/docs \33 && git checkout gh-pages \34 && cp -fr /tmp/docs/* . \35 && echo "done"3637docclean:38 rm -f docs/*.{1,html}3940.PHONY: site test test-cov docs docclean