Skip to content

Commit

Permalink
Merge pull request #238 from test-repo-billy/JackTn-patch-2
Browse files Browse the repository at this point in the history
sync script
  • Loading branch information
JackTn authored Mar 8, 2024
2 parents af22fdd + bfea6e7 commit 5ce7289
Show file tree
Hide file tree
Showing 2 changed files with 13 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
8 changes: 8 additions & 0 deletions .scripts/automation_init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm install v18.15.0
nvm alias default node
npm install -g @microsoft/rush@5.92.0
npm install -g @azure-tools/js-sdk-release-tools

0 comments on commit 5ce7289

Please sign in to comment.