Permalink
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (17 sloc) 375 Bytes
ADDON = build/default/canvas.node
REPORTER = dot
$(ADDON): src/*.cc
node-waf configure build
test: $(ADDON)
@./node_modules/.bin/mocha \
--reporter $(REPORTER) \
--ui exports \
--require should \
test/*.test.js
test-server: $(ADDON)
@node test/server.js
benchmark:
@node benchmarks/run.js
clean:
node-waf distclean
.PHONY: test test-server benchmark clean