Add .NET bindings - #1
Closed
grinidx wants to merge 5 commits into
Closed
Conversation
Adds a `protoc_builtin: csharp` entry to buf.gen.yaml alongside java and kotlin, the generated `bindings/dotnet/src/Scip.cs`, and a project that packs to the `Scip` NuGet package. protoc's C# backend emits an uncompilable `Descriptor` class (CS0542), so proto-generate renames the generated class to `SymbolDescriptor`. The Protobuf message itself is untouched.
Builds and packs bindings/dotnet with `buildDotnetModule`, pinned to the .NET 10 SDK, and asserts the project version matches cmd/scip/version.txt in the same style as the Rust, Haskell and TypeScript checks.
The PR check builds bindings/dotnet with a stock SDK and validates the package version against cmd/scip/version.txt, as the JVM bindings check does. The release workflow packs and pushes the Scip package to NuGet through `nix develop`, like the crate and Hackage jobs.
Adds bindings/dotnet/Scip.csproj to the list of files a version bump touches, and a NuGet publishing section alongside the JVM one.
`Scip.Index` is ambiguous with `System.Index` under implicit usings, so the README example aliases it. Google.Protobuf joins protobuf-java in the renovate rule that keeps the runtime in lock-step with flake.nix's protoc.
Member
Author
|
Opened only to make the fork's pull_request workflows run. The real PR is scip-code#475. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI dry run in the fork. Do not merge.