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

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 back
1

first new testTj Holowaychukbefore adoptionb8a589d

lines 2–4why, one step back
2DOCS = docs/*.md
3HTMLDOCS = $(DOCS:.md=.html)4TESTS = test/*.js

dot reporterTj Holowaychukbefore adoptionc96b778

line 5why, one step back
5REPORTER = dot

version -pre so people are less confusedTj Holowaychukbefore adoption6b1dc31

lines 6–7why, one step back
6
7test:

first new testTj Holowaychukbefore adoptionb8a589d

lines 8–9why, one step back
8 @NODE_ENV=test ./node_modules/.bin/mocha \
9 --require should \

app.configure() testsTj Holowaychukbefore adoption8ad17ab

line 10why, one step back
10 --reporter $(REPORTER) \

consider 20ms slowTj Holowaychukbefore adoption96f5279

line 11why, one step back
11 --slow 20 \

first new testTj Holowaychukbefore adoptionb8a589d

line 12why, one step back
12 --growl \

version -pre so people are less confusedTj Holowaychukbefore adoption6b1dc31

lines 13–14why, one step back
13 $(TESTS)
14

added first batch of acceptance tests for examplesTj Holowaychukbefore adoption29ef828

lines 15–17why, one step back
15test-acceptance:
16 @$(MAKE) test TESTS=test/acceptance/*.js17

version -pre so people are less confusedTj Holowaychukbefore adoption6b1dc31

lines 18–40why, one step back
18docs: $(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}40

added first batch of acceptance tests for examplesTj Holowaychukbefore adoption29ef828

line 41why, one step back
41.PHONY: site test benchmark docs docclean test-acceptance