Makefile
This file
Path
Makefile
37 lines · 641 bytes
Last changed by
dot reporterTj Holowaychukbefore adoptionc96b778
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 --growl \12 $(TESTS)1314docs: $(HTMLDOCS)15 @ echo "... generating TOC"16 @./support/toc.js docs/guide.html1718%.html: %.md19 @echo "... $< -> $@"20 @markdown $< \21 | cat docs/layout/head.html - docs/layout/foot.html \22 > $@2324site:25 rm -fr /tmp/docs \26 && cp -fr docs /tmp/docs \27 && git checkout gh-pages \28 && cp -fr /tmp/docs/* . \29 && echo "done"3031benchmark:32 @./support/bench3334docclean:35 rm -f docs/*.{1,html}3637.PHONY: site test benchmark docs docclean