Skip to content

Commit a8b6cbe

Browse files
committed
build: improve make test-npm
1 parent 30b7349 commit a8b6cbe

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Makefile

+2-4
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,10 @@ test-npm: $(NODE_EXE)
143143
cd deps/npm ; npm_config_cache="$(shell pwd)/npm-cache" \
144144
npm_config_prefix="$(shell pwd)/npm-prefix" \
145145
npm_config_tmp="$(shell pwd)/npm-tmp" \
146-
../../$(NODE_EXE) cli.js install --ignore-scripts
147-
cd deps/npm ; npm_config_cache="$(shell pwd)/npm-cache" \
148-
npm_config_prefix="$(shell pwd)/npm-prefix" \
149-
npm_config_tmp="$(shell pwd)/npm-tmp" \
146+
../../$(NODE_EXE) cli.js install --ignore-scripts && \
150147
../../$(NODE_EXE) cli.js run-script test-all && \
151148
../../$(NODE_EXE) cli.js prune --prod && \
149+
rm -rf node_modules/.bin && \
152150
cd ../.. && \
153151
rm -rf npm-cache npm-tmp npm-prefix
154152

0 commit comments

Comments
 (0)