Skip to content

Commit c44c419

Browse files
committed
Use prebuild-install instead of prebuild
1 parent 7f1f1ca commit c44c419

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = __dirname + '/out'

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "nodeos-cross-toolchain",
33
"version": "0.0.1",
44
"description": "Cross-toolchain to build NodeOS based on Compressed Linux From Scratch Embedded",
5-
"main": "./out",
65
"bin": {
76
"ar": "bin/ar",
87
"as": "bin/as",
@@ -20,7 +19,7 @@
2019
"scripts": {
2120
"BigRedButton": "scripts/BigRedButton",
2221
"build": "scripts/preinstall && scripts/build && scripts/postinstall",
23-
"install": "prebuild --download https://github.com/NodeOS/nodeos-cross-toolchain/releases/download/v{version}/{platform}-{arch}.tar.gz",
22+
"install": "prebuild-install --download https://github.com/NodeOS/nodeos-cross-toolchain/releases/download/v{version}/{platform}-{arch}.tar.gz || npm run build",
2423
"test": "scripts/test",
2524
"unbuild": "scripts/unbuild"
2625
},
@@ -38,7 +37,7 @@
3837
"author": "Jesús Leganés Combarro \"piranna\" <piranna@gmail.com>",
3938
"license": "MIT",
4039
"dependencies": {
41-
"prebuild": "piranna/prebuild"
40+
"prebuild": "piranna/prebuild-install#WIP_aux"
4241
},
4342
"devDpendencies": {
4443
"download-manager": "^0.0.15",

0 commit comments

Comments
 (0)