github.com/please-build/go-rules/tools/please_go@v0.0.0-20240319165128-ea27d6f5caba/install/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 = "install",
    11      srcs = [
    12          "install.go",
    13      ],
    14      visibility = ["PUBLIC"],
    15      deps = [
    16          "//tools/please_go/embed",
    17          "//tools/please_go/install/exec",
    18          "//tools/please_go/install/toolchain",
    19      ],
    20  )
    21  
    22  go_test(
    23      name = "install_test",
    24      srcs = ["install_test.go"],
    25      data = {
    26          "test_data": ["test_data"],
    27          "go_tool": ["//third_party/go:toolchain"],
    28      },
    29      deps = [
    30          ":install",
    31          "//third_party/go:testify",
    32      ],
    33  )