Skip to content

Commit

Permalink
Use --fallback-to-build=true with node-pre-gyp
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: Christina Ying Wang <[email protected]>
  • Loading branch information
cywang117 committed Oct 3, 2024
1 parent 8d27f7f commit b592e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build:rust": "RUSTFLAGS='-C target-feature=-crt-static' npx cargo-cp-artifact -ac balena-systemd ./native/index.node -- cargo build --message-format=json-render-diagnostics",
"build:rust:debug": "npm run build:rust --",
"build:rust:release": "npm run build:rust -- --release",
"install": "node-pre-gyp install --fallback-to-build=false || (npm run build:rust:release && cargo clean)",
"install": "node-pre-gyp install --fallback-to-build=true || (npm run build:rust:release && cargo clean)",
"test": "echo 'No tests yet'",
"test:integration": "mocha -r ts-node/register --bail --reporter spec tests/**/*.spec.ts",
"test:compose": "docker compose -f docker-compose.test.yml up --build --remove-orphans --exit-code-from=sut ; npm run compose:down",
Expand Down

0 comments on commit b592e59

Please sign in to comment.