Skip to content

Commit

Permalink
Buildifier fixes for generated files (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
thii committed Jan 26, 2024
1 parent 0609ad0 commit 1577d0d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mylang/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,12 @@ def _mylang_repo_impl(repository_ctx):
url = url,
integrity = TOOL_VERSIONS[repository_ctx.attr.mylang_version][repository_ctx.attr.platform],
)
build_content = """#Generated by mylang/repositories.bzl
build_content = """# Generated by mylang/repositories.bzl
load("@com_myorg_rules_mylang//mylang:toolchain.bzl", "mylang_toolchain")
mylang_toolchain(name = "mylang_toolchain", target_tool = select({
mylang_toolchain(
name = "mylang_toolchain",
target_tool = select({
"@bazel_tools//src/conditions:host_windows": "mylang_tool.exe",
"//conditions:default": "mylang_tool",
}),
Expand Down

0 comments on commit 1577d0d

Please sign in to comment.