blob: 695684bafd87020e446e9925e28fa856fd458c58 [file]
load("@buildifier_prebuilt//:rules.bzl", "buildifier", "buildifier_test")
exports_files([
"WORKSPACE.bazel", # used by buildifier to locate the root of the sandbox
])
buildifier(
name = "buildifier.fix",
exclude_patterns = ["./.git/*"],
lint_mode = "fix",
mode = "fix",
visibility = ["//thm/buildtools/fix:__pkg__"],
)
buildifier_test(
name = "buildifier.test",
exclude_patterns = ["./.git/*"],
lint_mode = "warn",
mode = "diff",
no_sandbox = True,
workspace = "//:WORKSPACE.bazel",
)