Makefile
This file
Path
Makefile
52 lines · 1.0 KiB
Last changed by
Removed alternate installation methods (use git, tarball, or npm)Tj Holowaychukbefore adoptionafd2b4b
History of this fileTake it
12DOCS = 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) test2627docs: docs/api.html $(MANPAGES) $(HTMLDOCS)28 @ echo "... generating TOC"29 @./support/toc.js docs/guide.html3031docs/api.html: lib/express/*.js32 dox \33 --private \34 --title Express \35 --desc "High performance web framework for [node](http://nodejs.org)." \36 $(shell find lib/express/* -type f) > $@3738%.1: %.md39 @echo "... $< -> $@"40 @ronn -r --pipe $< > $@4142%.html: %.md43 @echo "... $< -> $@"44 @ronn -5 --pipe --fragment $< \45 | cat docs/layout/head.html - docs/layout/foot.html \46 | sed 's/NAME/Express/g' \47 > $@4849docclean:50 rm -f docs/*.{1,html}5152.PHONY: test test-cov docs docclean