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",
|
|
|
|
"password_reader_mock.go",
|
2020-03-19 21:46:44 +00:00
|
|
|
"wrap_flags.go",
|
2018-07-19 16:31:50 +00:00
|
|
|
],
|
2018-07-20 21:31:26 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/cmd",
|
2018-07-19 16:31:50 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2020-01-05 04:32:09 +00:00
|
|
|
deps = [
|
2020-08-10 18:54:40 +00:00
|
|
|
"//shared/fileutil:go_default_library",
|
2020-06-23 15:41:20 +00:00
|
|
|
"//shared/params:go_default_library",
|
2020-05-12 15:01:02 +00:00
|
|
|
"@com_github_golang_mock//gomock: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 = [
|
2020-08-02 22:09:10 +00:00
|
|
|
"//shared/params:go_default_library",
|
2020-07-19 21:08:29 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
2020-10-11 15:26:59 +00:00
|
|
|
"//shared/testutil/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
|
|
|
)
|