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 4949 "author" : " Jesús Leganés Combarro 'piranna' <piranna@gmail.com>" ,
5050 "license" : " MIT" ,
5151 "dependencies" : {
52- "async" : " ^2.1.4" ,
53- "download-manager" : " ^0.1.3" ,
54- "fs-extra" : " ^1.0.0" ,
52+ "builddependencies" : " ^0.0.1" ,
5553 "prebuild-install" : " 2.1.0"
5654 },
55+ "buildDependencies" : [
56+ " async" ,
57+ " download-manager" ,
58+ " fs-extra"
59+ ],
5760 "devDependencies" : {
61+ "async" : " ^2.1.4" ,
62+ "download-manager" : " ^0.1.3" ,
63+ "fs-extra" : " ^1.0.0" ,
5864 "prebuild" : " ^6.0.0"
5965 },
6066 "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
1010# Download or build cross-toolchain
1111#
1212
13- prebuild-install -d $DOWNLOAD || npm run build || exit 10
13+ prebuild-install -d $DOWNLOAD || (buildDependencies && npm run build) || exit 10
1414
1515#
1616# Restore binary symlinks
You can’t perform that action at this time.
0 commit comments