-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump tcgc and typespec/rest version (#98)
* bump tcgc version, bump rest version * regenerate petstore and todoapp * align dotnet version in servers * regen * remove unnecessary files * add a script to verify dotnet * udpate python emitter version * refresh for python --------- Co-authored-by: Yuchao Yan <[email protected]>
- Loading branch information
1 parent
be3876d
commit d27edd2
Showing
11 changed files
with
281 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Set-Location (Resolve-Path (Join-Path $PSScriptRoot '..' '..' '..')) | ||
|
||
# Make sure everything is up-to-date | ||
npm ci | ||
|
||
# Generate | ||
Remove-Item ./petstore/clients/dotnet/src/Generated -Recurse -Force | ||
Push-Location ./petstore/spec | ||
npx --no-install tsp compile . --emit "@typespec/http-client-csharp" | ||
Pop-Location | ||
|
||
Remove-Item ./todoApp/clients/dotnet/src/Generated -Recurse -Force | ||
Push-Location ./todoApp/spec | ||
npx --no-install tsp compile . --emit "@typespec/http-client-csharp" | ||
Pop-Location | ||
|
||
# Build and install SDK | ||
Push-Location ./petstore/clients/dotnet | ||
dotnet build | ||
Pop-Location | ||
|
||
Push-Location ./todoApp/clients/dotnet | ||
dotnet build | ||
Pop-Location | ||
|
||
# Build samples | ||
Push-Location ./petstore/samples/dotnet | ||
dotnet build | ||
Pop-Location | ||
|
||
Push-Location ./todoApp/samples/dotnet | ||
dotnet build | ||
Pop-Location |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.