mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
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.
20 lines
399 B
Python
20 lines
399 B
Python
load(
|
|
"//misc/bazel:csharp.bzl",
|
|
"codeql_csharp_library",
|
|
)
|
|
|
|
codeql_csharp_library(
|
|
name = "Semmle.Util",
|
|
srcs = glob([
|
|
"Logging/**/*.cs",
|
|
"ToolStatusPage/**/*.cs",
|
|
"*.cs",
|
|
"Properties/*.cs",
|
|
]),
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"@paket.main//mono.posix.netstandard",
|
|
"@paket.main//newtonsoft.json",
|
|
],
|
|
)
|