20 lines
215 B
Makefile
20 lines
215 B
Makefile
|
TESTS = test/*.js
|
||
|
|
||
|
all: test
|
||
|
|
||
|
build: clean compile
|
||
|
|
||
|
compile:
|
||
|
npm install .
|
||
|
npm run install
|
||
|
|
||
|
test: build
|
||
|
@./node_modules/nodeunit/bin/nodeunit \
|
||
|
$(TESTS)
|
||
|
|
||
|
clean:
|
||
|
rm -Rf lib/bindings/
|
||
|
|
||
|
|
||
|
.PHONY: clean test build
|