github.com/prysmaticlabs/prysm@v1.4.4/shared/clientstats/BUILD.bazel (about) 1 load("@prysm//tools/go:def.bzl", "go_library", "go_test") 2 3 go_library( 4 name = "go_default_library", 5 srcs = [ 6 "interfaces.go", 7 "scrapers.go", 8 "types.go", 9 "updaters.go", 10 ], 11 importpath = "github.com/prysmaticlabs/prysm/shared/clientstats", 12 visibility = ["//visibility:public"], 13 deps = [ 14 "//proto/eth/v1alpha1:go_default_library", 15 "@com_github_prometheus_client_model//go:go_default_library", 16 "@com_github_prometheus_prom2json//:go_default_library", 17 "@com_github_sirupsen_logrus//:go_default_library", 18 ], 19 ) 20 21 go_test( 22 name = "go_default_test", 23 srcs = ["scrapers_test.go"], 24 embed = [":go_default_library"], 25 deps = [ 26 "//shared/testutil/require:go_default_library", 27 "@com_github_sirupsen_logrus//:go_default_library", 28 "@com_github_sirupsen_logrus//hooks/test:go_default_library", 29 ], 30 )