File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
csharp/autobuilder/Semmle.Autobuild.Cpp Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ codeql_csharp_binary(
9
9
"*.cs" ,
10
10
"Properties/*.cs" ,
11
11
]),
12
+ language_prefix = "cpp" ,
12
13
visibility = ["//visibility:public" ],
13
14
deps = [
14
15
"//csharp/autobuilder/Semmle.Autobuild.Shared" ,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def codeql_xunit_test(name, **kwargs):
33
33
** kwargs
34
34
)
35
35
36
- def codeql_csharp_binary (name , ** kwargs ):
36
+ def codeql_csharp_binary (name , language_prefix = "csharp" , ** kwargs ):
37
37
kwargs .setdefault ("nullable" , "enable" )
38
38
kwargs .setdefault ("target_frameworks" , [TARGET_FRAMEWORK ])
39
39
@@ -63,7 +63,7 @@ def codeql_csharp_binary(name, **kwargs):
63
63
pack_zip (
64
64
name = name ,
65
65
srcs = [publish_binary_target ],
66
- prefix = "csharp /tools/" + codeql_platform ,
66
+ prefix = language_prefix + " /tools/" + codeql_platform ,
67
67
strip_prefix = strip_prefix .files_only (),
68
68
visibility = visibility ,
69
69
)
You can’t perform that action at this time.
0 commit comments