File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- deps /
2
1
build /
3
2
out /
4
3
node_modules /
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ CLR="\e[0m"
6
6
7
7
TOOLCHAIN=` node -p " require('nodeos-cross-toolchain')" `
8
8
9
- NODE_DIR=` node -p " require('nodeos-nodejs')" `
10
-
11
9
source $TOOLCHAIN /scripts/adjustEnvVars.sh &&
12
10
source scripts/utils.sh || exit $?
13
11
@@ -17,7 +15,7 @@ PATH=$TOOLCHAIN/bin:$PATH
17
15
# Build cross-compiler (if needed)
18
16
(
19
17
cd $TOOLCHAIN
20
- BITS=$BITS CPU=$CPU MACHINE=$MACHINE npm run build || exit $?
18
+ BITS=$BITS CPU=$CPU MACHINE=$MACHINE npm install --production || exit $?
21
19
) || exit $?
22
20
23
21
Original file line number Diff line number Diff line change
1
+ NODE_DIR=` node -p " require('nodeos-nodejs')" `
2
+
1
3
NPMi=' CC=$TARGET-gcc \
2
4
CXX=$TARGET-g++ \
3
5
npm_config_prefix=$STEP_DIR \
4
6
npm install \
7
+ --production \
5
8
--quiet --no-spin \
6
9
--arch=$NODE_ARCH \
7
10
--nodedir=$NODE_DIR \
You can’t perform that action at this time.
0 commit comments