github.com/stackb/rules_proto@v0.0.0-20240221195024-5428336c51f1/pkg/plugin/stephenh/ts-proto/BUILD.bazel (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "ts-proto",
     5      srcs = ["protoc-gen-ts-proto.go"],
     6      importpath = "github.com/stackb/rules_proto/pkg/plugin/stephenh/ts-proto",
     7      visibility = ["//visibility:public"],
     8      deps = [
     9          "//pkg/protoc",
    10          "@bazel_gazelle//label:go_default_library",
    11      ],
    12  )
    13  
    14  go_test(
    15      name = "ts-proto_test",
    16      srcs = ["protoc-gen-ts-proto_test.go"],
    17      deps = [
    18          ":ts-proto",
    19          "//pkg/plugintest",
    20      ],
    21  )
    22  
    23  filegroup(
    24      name = "all_files",
    25      testonly = True,
    26      srcs = [
    27          "BUILD.bazel",
    28      ] + glob(["*.go"]),
    29      visibility = ["//pkg:__pkg__"],
    30  )