prysm-pulse/runtime/version/BUILD.bazel

29 lines
771 B
Python
Raw Normal View History

2021-10-09 13:27:34 +00:00
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"fork.go",
"metrics.go",
"version.go",
],
importpath = "github.com/prysmaticlabs/prysm/v3/runtime/version",
visibility = ["//visibility:public"],
x_defs = {
"gitCommit": "{STABLE_GIT_COMMIT}",
"buildDate": "{DATE}",
"buildDateUnix": "{DATE_UNIX}",
"gitTag": "{STABLE_GIT_TAG}",
},
deps = [
"@com_github_prometheus_client_golang//prometheus:go_default_library",
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
],
)
2021-10-09 13:27:34 +00:00
go_test(
name = "go_default_test",
srcs = ["fork_test.go"],
embed = [":go_default_library"],
)