-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bazel-build for C# language pack #16519
Conversation
8e396a2
to
0289be0
Compare
This commits a bazel-based build system for C# using `rules_dotnet`. External dependencies are managed via `paket`, and updates to the generated bazel files are done via `./update-deps.sh`. We're providing our own (minimal) test runner for `xunit` tests.
GitInfo doesn't work with the bazel-based build. Instead, we pull in the information from bazel, which correctly works with the bazel cache.
0289be0
to
731b941
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't tell much about C# changes, here's a first pass on my side.
Bazel/C#: avoid zipmerge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this, looks good to me on the bazel side. I would like to cut the dependencies of codeql
to the internal workspace, but that's out of scope in this PR.
This commits a bazel-based build system for C# using
rules_dotnet
. External dependencies are managed viapaket
, and updates to the generated bazel files are done via./update-deps.sh
. We're providing our own (minimal) test runner forxunit
tests.
I'll follow up with an internal PR that updates the documentation on how to update dependencies.