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