mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +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.
19 lines
451 B
Python
19 lines
451 B
Python
load(
|
|
"//misc/bazel:csharp.bzl",
|
|
"codeql_xunit_test",
|
|
)
|
|
|
|
codeql_xunit_test(
|
|
name = "Semmle.Autobuild.CSharp.Tests",
|
|
srcs = glob([
|
|
"*.cs",
|
|
"Properties/*.cs",
|
|
]),
|
|
deps = [
|
|
"//csharp/autobuilder/Semmle.Autobuild.CSharp:bin/Semmle.Autobuild.CSharp",
|
|
"//csharp/autobuilder/Semmle.Autobuild.Shared",
|
|
"@paket.main//microsoft.net.test.sdk",
|
|
"@paket.main//system.io.filesystem",
|
|
],
|
|
)
|