Skip to content

Commit a1cc212

Browse files
committed
update for environment
1 parent 1e3ce6d commit a1cc212

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

scripts/automation_generate.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ sudo npm install -g n
1010
sudo n 18.19.0
1111
export PATH=/usr/local/n/versions/node/18.19.0/bin:$PATH
1212

13+
14+
# install tsp-client globally (local install may interfere with tooling)
15+
echo Install tsp-client
16+
npm install -g @azure-tools/typespec-client-generator-cli
17+
1318
TEMP_FILE="$TMPDIR/venv-sdk/auto_temp.json"
1419
# generate code
1520
python -m packaging_tools.sdk_generator "$1" "$TEMP_FILE" 2>&1

scripts/automation_init.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,5 @@ export PATH
1515
python -m pip install -U pip
1616
python scripts/dev_setup.py -p azure-core
1717

18-
# install tsp-client globally (local install may interfere with tooling)
19-
echo Install tsp-client
20-
npm install -g @azure-tools/typespec-client-generator-cli
21-
2218
echo "{}" >> $2
2319
echo "[Generate] init success!!!"

0 commit comments

Comments
 (0)