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

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "merger",
     5      srcs = [
     6          "fix.go",
     7          "merger.go",
     8      ],
     9      importpath = "github.com/bazelbuild/bazel-gazelle/merger",
    10      visibility = ["//visibility:public"],
    11      deps = [
    12          "//rule",
    13          "@com_github_bazelbuild_buildtools//build",
    14      ],
    15  )
    16  
    17  go_test(
    18      name = "merger_test",
    19      size = "small",
    20      srcs = [
    21          "fix_test.go",
    22          "merger_test.go",
    23      ],
    24      deps = [
    25          ":merger",
    26          "//language",
    27          "//language/go",
    28          "//language/proto",
    29          "//rule",
    30          "@com_github_bazelbuild_buildtools//build",
    31          "@com_github_google_go_cmp//cmp",
    32      ],
    33  )
    34  
    35  filegroup(
    36      name = "all_files",
    37      testonly = True,
    38      srcs = [
    39          "BUILD.bazel",
    40          "fix.go",
    41          "fix_test.go",
    42          "merger.go",
    43          "merger_test.go",
    44      ],
    45      visibility = ["//visibility:public"],
    46  )
    47  
    48  alias(
    49      name = "go_default_library",
    50      actual = ":merger",
    51      visibility = ["//visibility:public"],
    52  )