Skip to content

Commit

Permalink
Update scripts/generate-csharp.sh to match the CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
kfcampbell committed Feb 1, 2024
1 parent da4330e commit e83bbcc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/generate-csharp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
go run schemas/main.go --schema-next=false

# Execute generation
kiota generate -l csharp --ll trace -o generated/csharp/src/GitHub -c GitHubClient -n GitHub -d schemas/downloaded.json --co --ebc
kiota generate -l csharp --ll trace -o $(pwd)/../dotnet-sdk/src/GitHub -c GitHubClient -n GitHub -d schemas/downloaded.json --ebc

# Build and run post-processor
go build -o $(pwd)/post-processors/csharp/post-processor post-processors/csharp/main.go
$(pwd)/post-processors/csharp/post-processor $(pwd)/generated/csharp/src/GitHub
post-processors/csharp/post-processor $(pwd)/../dotnet-sdk/src/GitHub
cd ../dotnet-sdk
dotnet build

0 comments on commit e83bbcc

Please sign in to comment.