mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
* gate unreleased forks * Preston + Bastin's feedback * Rename back to all versions * Clean up, mark PR ready for review * Changelog
36 lines
1.1 KiB
Python
36 lines
1.1 KiB
Python
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/OffchainLabs/prysm/v7/runtime/version",
|
|
visibility = ["//visibility:public"],
|
|
x_defs = {
|
|
"gitCommit": "{STABLE_GIT_COMMIT}",
|
|
"buildDate": "{DATE}",
|
|
"buildDateUnix": "{DATE_UNIX}",
|
|
"gitTag": "{STABLE_GIT_TAG}",
|
|
},
|
|
deps = [
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["fork_test.go"],
|
|
deps = [
|
|
":go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"@com_github_stretchr_testify//assert:go_default_library",
|
|
"@com_github_stretchr_testify//require:go_default_library",
|
|
],
|
|
)
|