github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/third_party/org_golang_x_tools/cmd/go-contrib-init/BUILD.bazel.in (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "go_default_library",
     5      srcs = ["contrib.go"],
     6      importpath = "golang.org/x/tools/cmd/go-contrib-init",
     7      visibility = ["//visibility:private"],
     8  )
     9  
    10  go_binary(
    11      name = "go-contrib-init",
    12      embed = [":go_default_library"],
    13      visibility = ["//visibility:public"],
    14  )
    15  
    16  go_test(
    17      name = "go_default_test",
    18      srcs = ["contrib_test.go"],
    19      embed = [":go_default_library"],
    20  )