Skip to content

Commit

Permalink
Place the C++ autobuilder in the correct path.
Browse files Browse the repository at this point in the history
  • Loading branch information
criemen committed May 27, 2024
1 parent d30ed54 commit 735bea6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions csharp/autobuilder/Semmle.Autobuild.Cpp/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ codeql_csharp_binary(
"*.cs",
"Properties/*.cs",
]),
language_prefix = "cpp",
visibility = ["//visibility:public"],
deps = [
"//csharp/autobuilder/Semmle.Autobuild.Shared",
Expand Down
4 changes: 2 additions & 2 deletions misc/bazel/csharp.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def codeql_xunit_test(name, **kwargs):
**kwargs
)

def codeql_csharp_binary(name, **kwargs):
def codeql_csharp_binary(name, language_prefix = "csharp", **kwargs):
kwargs.setdefault("nullable", "enable")
kwargs.setdefault("target_frameworks", [TARGET_FRAMEWORK])

Expand Down Expand Up @@ -63,7 +63,7 @@ def codeql_csharp_binary(name, **kwargs):
pack_zip(
name = name,
srcs = [publish_binary_target],
prefix = "csharp/tools/" + codeql_platform,
prefix = language_prefix + "/tools/" + codeql_platform,
strip_prefix = strip_prefix.files_only(),
visibility = visibility,
)

0 comments on commit 735bea6

Please sign in to comment.