Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (17 sloc) 471 Bytes
TESTS = $(wildcard test/test.*.js)
DOX = ./node_modules/.bin/dox
JADE = ./node_modules/.bin/jade
build/Release/binding.node: binding.cc binding.gyp
npm install
test:
@node test/run $(TESTS)
clean:
rm -fr build
docs:
$(DOX) < lib/index.js > docs/index.json
$(JADE) < docs/template.jade -o "{comments:$$(cat docs/index.json)}" > docs/index.html
docclean:
rm -fr docs/index.{json,html}
distclean:
node-waf distclean
.PHONY: clean distclean test docs docclean
Jump to Line
Something went wrong with that request. Please try again.