Makefile
This file
Path
Makefile
38 lines · 655 bytes
Last changed by
consider 20ms slowTj Holowaychukbefore adoption96f5279
History of this fileTake it
12DOCS = docs/*.md3HTMLDOCS = $(DOCS:.md=.html)4TESTS = test/*.js5REPORTER = dot67test:8 @NODE_ENV=test ./node_modules/.bin/mocha \9 --require should \10 --reporter $(REPORTER) \11 --slow 20 \12 --growl \13 $(TESTS)1415docs: $(HTMLDOCS)16 @ echo "... generating TOC"17 @./support/toc.js docs/guide.html1819%.html: %.md20 @echo "... $< -> $@"21 @markdown $< \22 | cat docs/layout/head.html - docs/layout/foot.html \23 > $@2425site:26 rm -fr /tmp/docs \27 && cp -fr docs /tmp/docs \28 && git checkout gh-pages \29 && cp -fr /tmp/docs/* . \30 && echo "done"3132benchmark:33 @./support/bench3435docclean:36 rm -f docs/*.{1,html}3738.PHONY: site test benchmark docs docclean