We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73d5691 commit 9e3401cCopy full SHA for 9e3401c
misc/bazel/workspace.bzl
@@ -12,7 +12,7 @@ _swift_arch_map = {
12
"macos-x86_64": "darwin_x86_64",
13
}
14
15
-def codeql_workspace():
+def codeql_workspace(repository_name = "codeql"):
16
for repo_arch, arch in _swift_arch_map.items():
17
sha256 = _swift_sha_map[repo_arch]
18
@@ -22,7 +22,7 @@ def codeql_workspace():
22
_swift_prebuilt_version,
23
repo_arch,
24
),
25
- build_file = "@codeql//swift/extractor:BUILD.swift-prebuilt.bazel",
+ build_file = "@%s//swift/extractor:BUILD.swift-prebuilt.bazel" % repository_name,
26
sha256 = sha256,
27
)
28
0 commit comments