File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- deps /
21build /
32out /
43node_modules /
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ CLR="\e[0m"
66
77TOOLCHAIN=` node -p " require('nodeos-cross-toolchain')" `
88
9- NODE_DIR=` node -p " require('nodeos-nodejs')" `
10-
119source $TOOLCHAIN /scripts/adjustEnvVars.sh &&
1210source scripts/utils.sh || exit $?
1311
@@ -17,7 +15,7 @@ PATH=$TOOLCHAIN/bin:$PATH
1715# Build cross-compiler (if needed)
1816(
1917 cd $TOOLCHAIN
20- BITS=$BITS CPU=$CPU MACHINE=$MACHINE npm run build || exit $?
18+ BITS=$BITS CPU=$CPU MACHINE=$MACHINE npm install --production || exit $?
2119) || exit $?
2220
2321
Original file line number Diff line number Diff line change 1+ NODE_DIR=` node -p " require('nodeos-nodejs')" `
2+
13NPMi=' CC=$TARGET-gcc \
24 CXX=$TARGET-g++ \
35 npm_config_prefix=$STEP_DIR \
46 npm install \
7+ --production \
58 --quiet --no-spin \
69 --arch=$NODE_ARCH \
710 --nodedir=$NODE_DIR \
You can’t perform that action at this time.
0 commit comments