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

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "wspace",
     5      srcs = ["finder.go"],
     6      importpath = "github.com/bazelbuild/bazel-gazelle/internal/wspace",
     7      visibility = ["//visibility:public"],
     8  )
     9  
    10  go_test(
    11      name = "wspace_test",
    12      size = "small",
    13      srcs = ["finder_test.go"],
    14      embed = [":wspace"],
    15  )
    16  
    17  filegroup(
    18      name = "all_files",
    19      testonly = True,
    20      srcs = [
    21          "BUILD.bazel",
    22          "finder.go",
    23          "finder_test.go",
    24      ],
    25      visibility = ["//visibility:public"],
    26  )
    27  
    28  alias(
    29      name = "go_default_library",
    30      actual = ":wspace",
    31      visibility = ["//:__subpackages__"],
    32  )