github.com/prysmaticlabs/prysm@v1.4.4/shared/cmd/BUILD.bazel (about)

     1  load("@prysm//tools/go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "go_default_library",
     5      srcs = [
     6          "config.go",
     7          "defaults.go",
     8          "flags.go",
     9          "helpers.go",
    10          "password_reader.go",
    11          "password_reader_mock.go",
    12          "wrap_flags.go",
    13      ],
    14      importpath = "github.com/prysmaticlabs/prysm/shared/cmd",
    15      visibility = ["//visibility:public"],
    16      deps = [
    17          "//shared/fileutil:go_default_library",
    18          "//shared/params:go_default_library",
    19          "@com_github_golang_mock//gomock:go_default_library",
    20          "@com_github_pkg_errors//:go_default_library",
    21          "@com_github_sirupsen_logrus//:go_default_library",
    22          "@com_github_urfave_cli_v2//:go_default_library",
    23          "@com_github_urfave_cli_v2//altsrc:go_default_library",
    24          "@org_golang_x_crypto//ssh/terminal:go_default_library",
    25      ],
    26  )
    27  
    28  go_test(
    29      name = "go_default_test",
    30      size = "small",
    31      srcs = [
    32          "config_test.go",
    33          "flags_test.go",
    34          "helpers_test.go",
    35      ],
    36      embed = [":go_default_library"],
    37      deps = [
    38          "//shared/params:go_default_library",
    39          "//shared/testutil/assert:go_default_library",
    40          "//shared/testutil/require:go_default_library",
    41          "@com_github_golang_mock//gomock:go_default_library",
    42          "@com_github_pkg_errors//:go_default_library",
    43          "@com_github_urfave_cli_v2//:go_default_library",
    44      ],
    45  )