2021-06-30 14:22:09 -05:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2019-03-20 22:57:25 -04:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"config.go",
|
2020-10-12 23:38:41 -07:00
|
|
|
"deprecated_flags.go",
|
2020-03-19 14:46:44 -07:00
|
|
|
"filter_flags.go",
|
2019-03-20 22:57:25 -04:00
|
|
|
"flags.go",
|
|
|
|
],
|
2021-09-14 18:18:39 -07:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/config/features",
|
2019-03-20 22:57:25 -04:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2022-06-09 23:31:59 +02:00
|
|
|
"//cmd:go_default_library",
|
2021-09-21 14:59:25 -05:00
|
|
|
"//config/params:go_default_library",
|
2019-03-20 22:57:25 -04:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-05-30 23:44:34 -07:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
2019-03-20 22:57:25 -04:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 12:00:22 -04:00
|
|
|
size = "small",
|
2019-10-29 11:30:14 -04:00
|
|
|
srcs = [
|
|
|
|
"config_test.go",
|
2020-10-12 23:38:41 -07:00
|
|
|
"deprecated_flags_test.go",
|
2019-10-29 11:30:14 -04:00
|
|
|
],
|
2019-03-20 22:57:25 -04:00
|
|
|
embed = [":go_default_library"],
|
2020-07-19 14:08:29 -07:00
|
|
|
deps = [
|
2021-09-23 13:53:46 -05:00
|
|
|
"//testing/assert:go_default_library",
|
2022-05-20 02:16:53 -05:00
|
|
|
"//testing/require:go_default_library",
|
2020-07-19 14:08:29 -07:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
],
|
2019-03-20 22:57:25 -04:00
|
|
|
)
|