...

Text file src/github.com/bazelbuild/bazel-gazelle/tools/releaser/BUILD.bazel

Documentation: github.com/bazelbuild/bazel-gazelle/tools/releaser

     1load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
     2
     3go_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
    14go_binary(
    15    name = "releaser",
    16    embed = [":releaser_lib"],
    17    visibility = ["//visibility:public"],
    18)
    19
    20filegroup(
    21    name = "all_files",
    22    testonly = True,
    23    srcs = [
    24        "BUILD.bazel",
    25        "main.go",
    26    ],
    27    visibility = ["//visibility:public"],
    28)

View as plain text