From bfea6e7d663fb536ef03a623660bdb0317de1e87 Mon Sep 17 00:00:00 2001 From: Tianen <347142915@qq.com> Date: Fri, 8 Mar 2024 13:56:22 +0800 Subject: [PATCH] Create automation_generate.sh --- .scripts/automation_generate.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .scripts/automation_generate.sh diff --git a/.scripts/automation_generate.sh b/.scripts/automation_generate.sh new file mode 100644 index 000000000000..0be1257431b3 --- /dev/null +++ b/.scripts/automation_generate.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +nvm use default +code-gen-pipeline --inputJsonPath=$1 --outputJsonPath=$2 --use=@autorest/typescript@^6.0.12 --typespecEmitter=@azure-tools/typespec-ts