mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-05 09:14:28 +00:00
a3781e2ffc
* Add prysm version to prometheus * gofmt * apply suggestion Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
21 lines
589 B
Python
21 lines
589 B
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"metrics.go",
|
|
"version.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/version",
|
|
visibility = ["//visibility:public"],
|
|
x_defs = {
|
|
"gitCommit": "{STABLE_GIT_COMMIT}",
|
|
"buildDate": "{DATE}",
|
|
"gitTag": "{STABLE_GIT_TAG}",
|
|
},
|
|
deps = [
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
|
],
|
|
)
|