Skip to content

Commit

Permalink
[publish binary]
Browse files Browse the repository at this point in the history
  • Loading branch information
ultamatt committed Sep 3, 2021
1 parent 2f92792 commit 23f4783
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 3 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
{
"name": "big_mac",
"version": "0.1.0",
"version": "0.1.1",
"description": "Get mac addresses",
"main": "index.node",
"scripts": {
"install": "node-pre-gyp install --fallback-to-build=false || npm run build-release",
"build": "cargo-cp-artifact -nc index.node -- cargo build --message-format=json-render-diagnostics",
"build-debug": "npm run build --",
"build-release": "npm run build -- --release",
"move_index_node": "mv index.node native",
"move_index_node": "[ ! -f index.node ] || mv index.node native",
"package": "npm run move_index_node && node-pre-gyp package",
"upload-binary": "npm run package && node-pre-gyp-github publish",
"everything": "npm run clean && npm install && npm test && npm run upload-binary",
"test": "cargo test",
"env_test": "console.log(process.env)",
"clean": "rm -rf node_modules && rm -rf build && rm -rf target && rm -rf native && rm -f index.node"
},
"author": "",
Expand All @@ -20,7 +22,7 @@
"cargo-cp-artifact": "^0.1",
"neon": "^2.0.0",
"node-pre-gyp": "^0.17.0",
"node-pre-gyp-github": "^1.4.3"
"node-pre-gyp-github": "git://github.com:ultamatt/node-pre-gyp-github.git#43c2d25"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 23f4783

Please sign in to comment.