File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 49
49
"author" :
" Jesús Leganés Combarro 'piranna' <[email protected] >" ,
50
50
"license" : " MIT" ,
51
51
"dependencies" : {
52
- "async" : " ^2.1.4" ,
53
- "download-manager" : " ^0.1.3" ,
54
- "fs-extra" : " ^1.0.0" ,
52
+ "builddependencies" : " ^0.0.1" ,
55
53
"prebuild-install" : " 2.1.0"
56
54
},
55
+ "buildDependencies" : [
56
+ " async" ,
57
+ " download-manager" ,
58
+ " fs-extra"
59
+ ],
57
60
"devDependencies" : {
61
+ "async" : " ^2.1.4" ,
62
+ "download-manager" : " ^0.1.3" ,
63
+ "fs-extra" : " ^1.0.0" ,
58
64
"prebuild" : " ^6.0.0"
59
65
},
60
66
"main" : " index.js" ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ DOWNLOAD=https://github.com/NodeOS/nodeos-cross-toolchain/releases/download/v{ve
10
10
# Download or build cross-toolchain
11
11
#
12
12
13
- prebuild-install -d $DOWNLOAD || npm run build || exit 10
13
+ prebuild-install -d $DOWNLOAD || (buildDependencies && npm run build) || exit 10
14
14
15
15
#
16
16
# Restore binary symlinks
You can’t perform that action at this time.
0 commit comments