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 0609ad0 commit 1577d0dCopy full SHA for 1577d0d
mylang/repositories.bzl
@@ -48,9 +48,12 @@ def _mylang_repo_impl(repository_ctx):
48
url = url,
49
integrity = TOOL_VERSIONS[repository_ctx.attr.mylang_version][repository_ctx.attr.platform],
50
)
51
- build_content = """#Generated by mylang/repositories.bzl
+ build_content = """# Generated by mylang/repositories.bzl
52
load("@com_myorg_rules_mylang//mylang:toolchain.bzl", "mylang_toolchain")
53
-mylang_toolchain(name = "mylang_toolchain", target_tool = select({
+
54
+mylang_toolchain(
55
+ name = "mylang_toolchain",
56
+ target_tool = select({
57
"@bazel_tools//src/conditions:host_windows": "mylang_tool.exe",
58
"//conditions:default": "mylang_tool",
59
}),
0 commit comments