Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

59 lines (48 sloc) 1.235 kB
all: install
.PHONY: all
install:
npm install .
./jake dep
.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.
./jake coverage
.PHONY: coverage
html:
# Problem? Type `make install` first.
cat README.md | sed '1,5d' | \
./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
site: clean html-api html coverage
.PHONY: site
clean:
rm -rf build_docs
.PHONY: clean
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.