Skip to content

Commit 5d3777d

Browse files
authored
reduce useless logs (Azure#39884)
1 parent ada2aa3 commit 5d3777d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

scripts/automation_init.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
#!/bin/bash
22

33
# install python3.10
4-
sudo add-apt-repository ppa:deadsnakes/ppa
5-
sudo apt-get install python3.10
6-
sudo apt-get install python3.10-venv
4+
sudo add-apt-repository ppa:deadsnakes/ppa > /dev/null
5+
sudo apt-get install python3.10 > /dev/null
6+
sudo apt-get install python3.10-venv > /dev/null
77

88
# init env
9-
rm -rf $TMPDIR/venv-sdk
10-
python3.10 -m venv $TMPDIR/venv-sdk
9+
rm -rf $TMPDIR/venv-sdk > /dev/null
10+
python3.10 -m venv $TMPDIR/venv-sdk > /dev/null
1111
VIRTUAL_ENV=$TMPDIR/venv-sdk
1212
export VIRTUAL_ENV
1313
PATH="$VIRTUAL_ENV/bin:$PATH"
1414
export PATH
15-
python -m pip install -U pip
16-
python scripts/dev_setup.py -p azure-core
17-
pip install tox==4.15.0
15+
python -m pip install -U pip > /dev/null
16+
python scripts/dev_setup.py -p azure-core > /dev/null
17+
pip install tox==4.15.0 > /dev/null
1818

1919
# install tsp-client globally (local install may interfere with tooling)
2020
echo Install tsp-client
21-
sudo npm install -g @azure-tools/typespec-client-generator-cli
21+
sudo npm install -g @azure-tools/typespec-client-generator-cli > /dev/null
2222

2323
echo "{}" >> $2
2424
echo "[Generate] init success!!!"

0 commit comments

Comments
 (0)