Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Fix install not to build from scratch (#95)
Browse files Browse the repository at this point in the history
💅 Fix install not to build from scratch
  • Loading branch information
shuse2 authored Feb 6, 2023
1 parent 0bd3520 commit 86c65d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const shell = require("shelljs");

shell.exec(`npx node-pre-gyp install --build-from-source`);
shell.exec("npx node-pre-gyp install");
if (shell.error()) {
shell.exec("yarn install --ignore-scripts");
shell.exec("yarn clean");
shell.exec("yarn build-release");
}
}

0 comments on commit 86c65d7

Please sign in to comment.