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 fileTake it
The walk stopped after 200 commits: lines older than 6b1dc31 point at it.
version -pre so people are less confusedTj Holowaychukbefore adoption6b1dc31
line 1why, one step back1first new testTj Holowaychukbefore adoptionb8a589d
lines 2–4why, one step back2DOCS = docs/*.md3HTMLDOCS = $(DOCS:.md=.html)4TESTS = test/*.jsdot reporterTj Holowaychukbefore adoptionc96b778
line 5why, one step back5REPORTER = dotversion -pre so people are less confusedTj Holowaychukbefore adoption6b1dc31
lines 6–7why, one step back67test:first new testTj Holowaychukbefore adoptionb8a589d
lines 8–9why, one step back8 @NODE_ENV=test ./node_modules/.bin/mocha \9 --require should \app.configure() testsTj Holowaychukbefore adoption8ad17ab
line 10why, one step back10 --reporter $(REPORTER) \consider 20ms slowTj Holowaychukbefore adoption96f5279
line 11why, one step back11 --slow 20 \first new testTj Holowaychukbefore adoptionb8a589d
line 12why, one step back12 --growl \version -pre so people are less confusedTj Holowaychukbefore adoption6b1dc31
lines 13–14why, one step back13 $(TESTS)14added first batch of acceptance tests for examplesTj Holowaychukbefore adoption29ef828
lines 15–17why, one step back15test-acceptance:16 @$(MAKE) test TESTS=test/acceptance/*.js17version -pre so people are less confusedTj Holowaychukbefore adoption6b1dc31
lines 18–40why, one step back18docs: $(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}40added first batch of acceptance tests for examplesTj Holowaychukbefore adoption29ef828
line 41why, one step back41.PHONY: site test benchmark docs docclean test-acceptance