Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

58 lines (47 sloc) 1.268 kb
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
cat CONTRIBUTING.md | sed '1,2d' | \
./node_modules/.bin/ronn -5 | \
sed -e 's/<[\/]*html>//g' -e 's/<pre>/<pre class="code">/g' \
> doc/contribute/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" \! -name "*min.js" -print0 | xargs -0 ./go lint
.PHONY: lint
clean:
rm -rf build_docs
.PHONY: clean
publish: clean html-api html coverage
rsync -avz build_docs/ yeti.cx:public/doc/dev/
maintainer-clean:
npm rm webkit-devtools-agent
rm -rf tools
.PHONY: maintainer-clean
Jump to Line
Something went wrong with that request. Please try again.