Skip to content

Commit 1577d0d

Browse files
authored
Buildifier fixes for generated files (#77)
1 parent 0609ad0 commit 1577d0d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

mylang/repositories.bzl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,12 @@ def _mylang_repo_impl(repository_ctx):
4848
url = url,
4949
integrity = TOOL_VERSIONS[repository_ctx.attr.mylang_version][repository_ctx.attr.platform],
5050
)
51-
build_content = """#Generated by mylang/repositories.bzl
51+
build_content = """# Generated by mylang/repositories.bzl
5252
load("@com_myorg_rules_mylang//mylang:toolchain.bzl", "mylang_toolchain")
53-
mylang_toolchain(name = "mylang_toolchain", target_tool = select({
53+
54+
mylang_toolchain(
55+
name = "mylang_toolchain",
56+
target_tool = select({
5457
"@bazel_tools//src/conditions:host_windows": "mylang_tool.exe",
5558
"//conditions:default": "mylang_tool",
5659
}),

0 commit comments

Comments
 (0)