Skip to content

Commit

Permalink
Create automation_generate.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JackTn authored Mar 8, 2024
1 parent 3ac2c27 commit bfea6e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .scripts/automation_generate.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bfea6e7

Please sign in to comment.