Skip to content

Commit af5f8c4

Browse files
committed
use npm scripts instead of node-gyp directly.
Signed-off-by: Nick Campbell <[email protected]>
1 parent f5eb5d1 commit af5f8c4

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Makefile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,18 @@ TESTS = test/*.js
22

33
all: test
44

5-
build: clean configure compile
5+
build: clean compile
66

7-
configure:
8-
node-gyp configure
9-
10-
compile: configure
11-
node-gyp build
7+
compile:
128
npm install .
9+
npm run install
1310

1411
test: build
1512
@./node_modules/nodeunit/bin/nodeunit \
1613
$(TESTS)
1714

1815
clean:
19-
node-gyp clean
16+
rm -Rf lib/bindings/
2017

2118

2219
.PHONY: clean test build

0 commit comments

Comments
 (0)