github.com/prysmaticlabs/prysm@v1.4.4/shared/version/BUILD.bazel (about)

     1  load("@prysm//tools/go:def.bzl", "go_library")
     2  
     3  go_library(
     4      name = "go_default_library",
     5      srcs = [
     6          "metrics.go",
     7          "version.go",
     8      ],
     9      importpath = "github.com/prysmaticlabs/prysm/shared/version",
    10      visibility = ["//visibility:public"],
    11      x_defs = {
    12          "gitCommit": "{STABLE_GIT_COMMIT}",
    13          "buildDate": "{DATE}",
    14          "buildDateUnix": "{DATE_UNIX}",
    15          "gitTag": "{STABLE_GIT_TAG}",
    16      },
    17      deps = [
    18          "@com_github_prometheus_client_golang//prometheus:go_default_library",
    19          "@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
    20      ],
    21  )