2019-03-21 02:57:25 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"config.go",
|
|
|
|
"flags.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/featureconfig",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@com_github_urfave_cli//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
2019-10-29 15:30:14 +00:00
|
|
|
srcs = [
|
|
|
|
"config_test.go",
|
|
|
|
"flags_test.go",
|
|
|
|
],
|
2019-03-21 02:57:25 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = ["@com_github_urfave_cli//:go_default_library"],
|
|
|
|
)
|