Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 50 lines (41 sloc) 0.992 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
all: install
.PHONY: all

install:
npm install .
.PHONY: install

test:
# Problem? Type `make install` first.
npm test
.PHONY: test

spec:
# Problem? Type `make install` first.
./node_modules/.bin/vows --spec test/*.js
.PHONY: spec

coverage:
# Problem? Type `make install` first.
sh scripts/coverage.sh
.PHONY: coverage

html:
# Problem? Type `make install` first.
cat README.md | sed '1,4d' | \
./node_modules/.bin/ronn -5 | \
sed -e 's/<[\/]*html>//g' -e 's/<pre>/<pre class="code">/g' \
> doc/quick-start/index.mustache
./node_modules/.bin/selleck
.PHONY: html

html-api:
# Problem? Type `make install` first.
mkdir -p build_docs/api/everything
./node_modules/.bin/yuidoc --project-version `node cli.js -v`
.PHONY: html-api

lint:
# Problem? Type `make install` first.
find lib test -name "*.js" -print0 | xargs -0 ./go lint
.PHONY: lint

clean:
rm -rf build_docs
.PHONY: clean

maintainer-clean:
npm rm webkit-devtools-agent
rm -rf tools
.PHONY: maintainer-clean
Something went wrong with that request. Please try again.