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.
 
 
 
 

24 lines
357 B

ADDON = build/Release/canvas.node
REPORTER = dot
$(ADDON): src/*.cc
npm install
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:
rm -fr build
.PHONY: test test-server benchmark clean