blob: fb93108302cea2fa9e4050dae10695665f27ea39 [file]
load("@bazel_gazelle//:def.bzl", "gazelle")
load("//buildifier:def.bzl", "buildifier", "buildifier_test")
exports_files([
"LICENSE",
"launcher.js",
"WORKSPACE",
])
config_setting(
name = "windows",
values = {"cpu": "x64_windows"},
)
filegroup(
name = "warnings",
srcs = ["WARNINGS.md"],
visibility = ["//warn/docs:__pkg__"],
)
test_suite(
name = "tests",
tests = [
":make_location_lint",
"//api_proto:api.gen.pb.go_checkshtest",
"//build:build_test",
"//build_proto:build.gen.pb.go_checkshtest",
"//buildifier:buildifier_integration_test",
"//deps_proto:deps.gen.pb.go_checkshtest",
"//edit:edit_test",
"//extra_actions_base_proto:extra_actions_base.gen.pb.go_checkshtest",
"//labels:labels_test",
"//lang:tables.gen.go_checkshtest",
"//tables:tables_test",
"//warn:warn_test",
"//warn/docs:docs_test",
"//warn/docs/proto:docs.gen.pb.go_checkshtest",
"//wspace:wspace_test",
],
)
# gazelle:go_naming_convention import_alias
# gazelle:prefix github.com/bazel-contrib/buildtools/v10
gazelle(
name = "gazelle",
)
buildifier(
name = "buildifier",
)
buildifier_test(
name = "make_location_lint",
lint_mode = "warn",
lint_warnings = ["make-location"],
no_sandbox = True,
workspace = "//:WORKSPACE",
)