You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
333 B

ADDON = build/default/canvas.node
$(ADDON): src/*.cc
node-waf configure build
test: $(ADDON)
@./node_modules/.bin/mocha \
--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