Skip to content
Myr

Makefile

This file

Path

Makefile

38 lines · 698 bytes

Last changed by

mocha.optsTj Holowaychukbefore adoptiondd7af29

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–3why, one step back
2DOCS = docs/*.md
3HTMLDOCS = $(DOCS:.md=.html)

dot reporterTj Holowaychukbefore adoptionc96b778

line 4why, one step back
4REPORTER = dot

version -pre so people are less confusedTj Holowaychukbefore adoption6b1dc31

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

first new testTj Holowaychukbefore adoptionb8a589d

line 7why, one step back
7 @NODE_ENV=test ./node_modules/.bin/mocha \

mocha.optsTj Holowaychukbefore adoptiondd7af29

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

version -pre so people are less confusedTj Holowaychukbefore adoption6b1dc31

line 9why, one step back
9

added first batch of acceptance tests for examplesTj Holowaychukbefore adoption29ef828

line 10why, one step back
10test-acceptance:

mocha.optsTj Holowaychukbefore adoptiondd7af29

lines 11–13why, one step back
11 @NODE_ENV=test ./node_modules/.bin/mocha \
12 --reporter spec \13 test/acceptance/*.js

added first batch of acceptance tests for examplesTj Holowaychukbefore adoption29ef828

line 14why, one step back
14

version -pre so people are less confusedTj Holowaychukbefore adoption6b1dc31

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

added first batch of acceptance tests for examplesTj Holowaychukbefore adoption29ef828

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