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

     1  subinclude("//build_defs:go")
     2  
     3  filegroup(
     4      name = "srcs",
     5      srcs = ["modinfo.go"],
     6      visibility = ["//tools/please_go:bootstrap"],
     7  )
     8  
     9  go_library(
    10      name = "modinfo",
    11      srcs = ["modinfo.go"],
    12      deps = [
    13          "//third_party/go:mod",
    14      ],
    15      visibility = [
    16          "//tools/please_go/...",
    17      ],
    18  )
    19  
    20  go_test(
    21      name = "modinfo_test",
    22      srcs = ["modinfo_test.go"],
    23      external = True,
    24      deps = [
    25          ":modinfo",
    26          "//third_party/go:testify",
    27      ],
    28  )