2021-06-30 14:22:09 -05:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2018-07-19 11:31:50 -05:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2020-06-23 11:41:20 -04:00
|
|
|
"config.go",
|
2019-02-19 01:17:27 -05:00
|
|
|
"defaults.go",
|
2018-07-19 11:31:50 -05:00
|
|
|
"flags.go",
|
2020-01-04 23:32:09 -05:00
|
|
|
"helpers.go",
|
2020-05-12 11:01:02 -04:00
|
|
|
"password_reader.go",
|
2020-03-19 14:46:44 -07:00
|
|
|
"wrap_flags.go",
|
2018-07-19 11:31:50 -05:00
|
|
|
],
|
2024-02-14 21:46:47 -08:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/cmd",
|
2018-07-19 11:31:50 -05:00
|
|
|
visibility = ["//visibility:public"],
|
2020-01-04 23:32:09 -05:00
|
|
|
deps = [
|
2022-02-03 03:13:52 +08:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 14:59:25 -05:00
|
|
|
"//config/params:go_default_library",
|
2021-09-17 16:55:24 -05:00
|
|
|
"//io/file:go_default_library",
|
2020-05-05 16:13:18 -04:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-01-04 23:32:09 -05:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-05-30 23:44:34 -07:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
"@com_github_urfave_cli_v2//altsrc:go_default_library",
|
2020-05-05 16:13:18 -04:00
|
|
|
"@org_golang_x_crypto//ssh/terminal:go_default_library",
|
2020-01-04 23:32:09 -05:00
|
|
|
],
|
2018-07-19 11:31:50 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 12:00:22 -04:00
|
|
|
size = "small",
|
2020-05-12 11:01:02 -04:00
|
|
|
srcs = [
|
2020-06-23 11:41:20 -04:00
|
|
|
"config_test.go",
|
2020-10-11 21:26:59 +06:00
|
|
|
"flags_test.go",
|
2020-05-12 11:01:02 -04:00
|
|
|
"helpers_test.go",
|
|
|
|
],
|
2018-07-19 11:31:50 -05:00
|
|
|
embed = [":go_default_library"],
|
2020-05-12 11:01:02 -04:00
|
|
|
deps = [
|
2022-01-26 08:48:20 -06:00
|
|
|
"//cmd/mock:go_default_library",
|
2021-09-21 14:59:25 -05:00
|
|
|
"//config/params:go_default_library",
|
2021-09-23 13:53:46 -05:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2020-05-12 11:01:02 -04:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-06-23 11:41:20 -04:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
2024-02-21 10:37:17 -08:00
|
|
|
"@org_uber_go_mock//gomock:go_default_library",
|
2020-05-12 11:01:02 -04:00
|
|
|
],
|
2018-07-19 11:31:50 -05:00
|
|
|
)
|