github.com/stackb/rules_proto@v0.0.0-20240221195024-5428336c51f1/cmd/gazelle/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/stackb/rules_proto/cmd/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  )