mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
74101612ce
* first working implementation * assertions tests * adds to requires * merges assert and require tests into a single suite * gazelle * Merge branch 'merge-assert-require-tests' into assert-logs-contains-move-to-assertions * gazelle * updates references * fixes build issue * Merge branch 'master' into assert-logs-contains-move-to-assertions * Merge refs/heads/master into assert-logs-contains-move-to-assertions * Merge branch 'master' into assert-logs-contains-move-to-assertions * fixes build issue * Merge branch 'assert-logs-contains-move-to-assertions' of github.com:prysmaticlabs/prysm into assert-logs-contains-move-to-assertions * Merge refs/heads/master into assert-logs-contains-move-to-assertions * Merge refs/heads/master into assert-logs-contains-move-to-assertions
36 lines
968 B
Python
36 lines
968 B
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"countdown.go",
|
|
"slotticker.go",
|
|
"slottime.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/slotutil",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//shared/params:go_default_library",
|
|
"//shared/roughtime:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = [
|
|
"countdown_test.go",
|
|
"slotticker_test.go",
|
|
"slottime_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//shared/params:go_default_library",
|
|
"//shared/roughtime:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
],
|
|
)
|