From 100a08bbf6f65ef02d53e08581f5f591fd21a96b Mon Sep 17 00:00:00 2001 From: Cerem Cem ASLAN Date: Sun, 7 Apr 2019 18:14:57 +0300 Subject: [PATCH] fixes build issues on Debian, resolves OpenWebCAD/node-occ#38 --- README.md | 6 +++--- package.json | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8bad42f..4629469 100644 --- a/README.md +++ b/README.md @@ -72,11 +72,11 @@ $npm install node-occ >npm install node-occ ``` -### on Linux +### On Linux -### on ubuntu +### On Ubuntu or Debian ```bash @@ -91,7 +91,7 @@ sudo apt-get install cmake cmake-curses-gui g++ build-essential libtbb2 # ------------------------------------ git clone --recursive https://github.com/erossignon/node-occ.git cd node-occ -npm install +./build.sh # TODO: Trigger this via `npm install` make test ``` diff --git a/package.json b/package.json index 3b10bab..ed99fae 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,6 @@ "url": "https://github.com/openwebcad/node-occ.git" }, "scripts": { - "preinstall": "node build.js", "install": "node-pre-gyp install --fallback-to-build", "test": "mocha -R spec", "lint": "eslint lib test bin",