Skip to content
Myr

Makefile

This file

Path

Makefile

41 lines · 731 bytes

Last changed by

added first batch of acceptance tests for examplesTj Holowaychukbefore adoption29ef828

History of this file

Take 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)1415test-acceptance:16	@$(MAKE) test TESTS=test/acceptance/*.js1718docs: $(HTMLDOCS)19	@ echo "... generating TOC"20	@./support/toc.js docs/guide.html2122%.html: %.md23	@echo "... $< -> $@"24	@markdown $< \25	  | cat docs/layout/head.html - docs/layout/foot.html \26	  > $@2728site:29	rm -fr /tmp/docs \30	  && cp -fr docs /tmp/docs \31	  && git checkout gh-pages \32  	&& cp -fr /tmp/docs/* . \33		&& echo "done"3435benchmark:36	@./support/bench3738docclean:39	rm -f docs/*.{1,html}4041.PHONY: site test benchmark docs docclean test-acceptance