github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/testtools/BUILD.bazel (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library")
     2  
     3  go_library(
     4      name = "testtools",
     5      testonly = True,
     6      srcs = [
     7          "config.go",
     8          "files.go",
     9      ],
    10      importpath = "github.com/bazelbuild/bazel-gazelle/testtools",
    11      visibility = ["//visibility:public"],
    12      deps = [
    13          "//config",
    14          "//language",
    15          "@com_github_google_go_cmp//cmp",
    16      ],
    17  )
    18  
    19  filegroup(
    20      name = "all_files",
    21      testonly = True,
    22      srcs = [
    23          "BUILD.bazel",
    24          "config.go",
    25          "files.go",
    26      ],
    27      visibility = ["//visibility:public"],
    28  )
    29  
    30  alias(
    31      name = "go_default_library",
    32      actual = ":testtools",
    33      visibility = ["//visibility:public"],
    34  )