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

     1  load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
     2  
     3  go_library(
     4      name = "releaser_lib",
     5      srcs = ["main.go"],
     6      importpath = "github.com/bazelbuild/bazel-gazelle/tools/releaser",
     7      visibility = ["//visibility:private"],
     8      deps = [
     9          "//rule",
    10          "@com_github_bazelbuild_buildtools//build",
    11      ],
    12  )
    13  
    14  go_binary(
    15      name = "releaser",
    16      embed = [":releaser_lib"],
    17      visibility = ["//visibility:public"],
    18  )
    19  
    20  filegroup(
    21      name = "all_files",
    22      testonly = True,
    23      srcs = [
    24          "BUILD.bazel",
    25          "main.go",
    26      ],
    27      visibility = ["//visibility:public"],
    28  )