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.

25 lines
357 B

14 years ago
ADDON = build/Release/canvas.node
13 years ago
REPORTER = dot
14 years ago
$(ADDON): src/*.cc
12 years ago
npm install
14 years ago
test: $(ADDON)
@./node_modules/.bin/mocha \
13 years ago
--reporter $(REPORTER) \
--ui exports \
--require should \
test/*.test.js
14 years ago
14 years ago
test-server: $(ADDON)
@node test/server.js
benchmark:
14 years ago
@node benchmarks/run.js
clean:
12 years ago
rm -fr build
.PHONY: test test-server benchmark clean