github.com/please-build/go-rules/tools/please_go@v0.0.0-20240319165128-ea27d6f5caba/install/toolchain/BUILD (about)

     1  subinclude("//build_defs:go")
     2  
     3  filegroup(
     4      name = "srcs",
     5      srcs = glob(["*.go"]),
     6      visibility = ["//tools/please_go:bootstrap"],
     7  )
     8  
     9  go_library(
    10      name = "toolchain",
    11      srcs = [
    12          "toolchain.go",
    13      ],
    14      visibility = ["//tools/please_go/..."],
    15      deps = [
    16          "//tools/please_go/install/exec",
    17      ],
    18  )
    19  
    20  go_test(
    21      name = "toolchain_test",
    22      srcs = ["toolchain_test.go"],
    23      data = ["//third_party/go:toolchain|go"],
    24      labels = ["no-musl"],
    25      deps = [
    26          ":toolchain",
    27          "//third_party/go:testify",
    28      ],
    29  )