github.com/please-build/puku@v1.7.3-0.20240516143641-f7d7f4941f57/generate/BUILD (about)

     1  subinclude("//build_defs:testify_test")
     2  
     3  go_library(
     4      name = "generate",
     5      srcs = glob(
     6          ["*.go"],
     7          exclude = ["*_test.go"],
     8      ),
     9      visibility = [
    10          "//:all",
    11          "//cmd/puku:all",
    12          "//generate/integration/syncmod:all",
    13          "//migrate:all",
    14          "//watch",
    15      ],
    16      deps = [
    17          "///third_party/go/github.com_please-build_buildtools//build",
    18          "///third_party/go/github.com_please-build_buildtools//labels",
    19          "//config",
    20          "//edit",
    21          "//eval",
    22          "//fs",
    23          "//glob",
    24          "//graph",
    25          "//kinds",
    26          "//knownimports",
    27          "//licences",
    28          "//logging",
    29          "//please",
    30          "//proxy",
    31          "//trie",
    32      ],
    33  )
    34  
    35  testify_test(
    36      name = "generate_test",
    37      srcs = glob(["*_test.go"]),
    38      data = ["//:test_project"],
    39      deps = [
    40          ":generate",
    41          "//config",
    42          "//edit",
    43          "//graph",
    44          "//kinds",
    45          "//please",
    46          "//proxy",
    47          "//trie",
    48      ],
    49  )