mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-22 10:46:31 +00:00
chore(scripts): Make npm output less verbose (#1554)
This adds the `--silent` flag to several npm commands, ideally making the output less verbose, for better overview in CI logs. Change-Type: patch
This commit is contained in:
parent
3ab989cf3c
commit
2008c50ebf
@ -99,9 +99,9 @@ function run_install() {
|
|||||||
|
|
||||||
# When changing between target architectures, rebuild all dependencies,
|
# When changing between target architectures, rebuild all dependencies,
|
||||||
# since compiled add-ons will not work otherwise.
|
# since compiled add-ons will not work otherwise.
|
||||||
npm rebuild
|
npm rebuild --silent
|
||||||
|
|
||||||
npm install $INSTALL_OPTS --fetch-retries 10 --fetch-retry-maxtimeout 180000
|
npm install --silent $INSTALL_OPTS --fetch-retries 10 --fetch-retry-maxtimeout 180000
|
||||||
|
|
||||||
if [ "$ARGV_PRODUCTION" == "true" ]; then
|
if [ "$ARGV_PRODUCTION" == "true" ]; then
|
||||||
|
|
||||||
|
@ -68,7 +68,8 @@ else
|
|||||||
./scripts/build/check-dependency.sh make
|
./scripts/build/check-dependency.sh make
|
||||||
|
|
||||||
npm config set spin=false
|
npm config set spin=false
|
||||||
npm install -g uglify-es@3.0.3
|
npm config set progress=false
|
||||||
|
npm install -g --silent uglify-es@3.0.3
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
make info
|
make info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user