Skip to content

Commit 735bea6

Browse files
committed
Place the C++ autobuilder in the correct path.
1 parent d30ed54 commit 735bea6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

csharp/autobuilder/Semmle.Autobuild.Cpp/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ codeql_csharp_binary(
99
"*.cs",
1010
"Properties/*.cs",
1111
]),
12+
language_prefix = "cpp",
1213
visibility = ["//visibility:public"],
1314
deps = [
1415
"//csharp/autobuilder/Semmle.Autobuild.Shared",

misc/bazel/csharp.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def codeql_xunit_test(name, **kwargs):
3333
**kwargs
3434
)
3535

36-
def codeql_csharp_binary(name, **kwargs):
36+
def codeql_csharp_binary(name, language_prefix = "csharp", **kwargs):
3737
kwargs.setdefault("nullable", "enable")
3838
kwargs.setdefault("target_frameworks", [TARGET_FRAMEWORK])
3939

@@ -63,7 +63,7 @@ def codeql_csharp_binary(name, **kwargs):
6363
pack_zip(
6464
name = name,
6565
srcs = [publish_binary_target],
66-
prefix = "csharp/tools/" + codeql_platform,
66+
prefix = language_prefix + "/tools/" + codeql_platform,
6767
strip_prefix = strip_prefix.files_only(),
6868
visibility = visibility,
6969
)

0 commit comments

Comments
 (0)