2022-07-14 16:34:59 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2018-07-09 02:40:34 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-09-11 18:38:35 +00:00
|
|
|
srcs = [
|
|
|
|
"flags.go",
|
|
|
|
"interop.go",
|
2022-12-08 14:38:56 +00:00
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/cmd/validator/flags",
|
2021-03-02 18:58:40 +00:00
|
|
|
visibility = [
|
2022-10-17 21:04:19 +00:00
|
|
|
"//cmd/prysmctl:__subpackages__",
|
2021-03-02 18:58:40 +00:00
|
|
|
"//cmd/validator:__subpackages__",
|
2021-09-15 14:42:05 +00:00
|
|
|
"//testing/endtoend:__subpackages__",
|
2021-03-02 18:58:40 +00:00
|
|
|
"//validator:__subpackages__",
|
|
|
|
],
|
2020-08-07 00:02:30 +00:00
|
|
|
deps = [
|
2022-06-06 19:32:41 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-17 21:55:24 +00:00
|
|
|
"//io/file:go_default_library",
|
2020-08-07 00:02:30 +00:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
],
|
2018-07-09 02:40:34 +00:00
|
|
|
)
|
2022-07-14 16:34:59 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["flags_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//cmd:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|