C#: Add Bazel-based build system.

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.
This commit is contained in:
Cornelius Riemenschneider
2024-02-02 11:01:02 +01:00
parent 9d21e2cda3
commit 71372bc74c
36 changed files with 708 additions and 5 deletions

11
csharp/tools/BUILD.bazel Normal file
View File

@@ -0,0 +1,11 @@
load("@semmle_code//:dist.bzl", "pack_zip")
pack_zip(
name = "tools",
srcs = glob(["**/*"]),
excludes = [
"BUILD.bazel",
],
prefix = "tools",
visibility = ["//csharp:__pkg__"],
)