2018-10-14 15:29:57 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-10-21 23:15:32 +00:00
|
|
|
srcs = [
|
|
|
|
"slotticker.go",
|
|
|
|
"slottime.go",
|
|
|
|
],
|
2019-01-31 02:53:58 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/slotutil",
|
2018-10-14 15:29:57 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2019-10-21 23:15:32 +00:00
|
|
|
deps = [
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//shared/roughtime:go_default_library",
|
|
|
|
],
|
2018-10-14 15:29:57 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
2019-02-12 20:58:35 +00:00
|
|
|
srcs = ["slotticker_test.go"],
|
2018-10-14 15:29:57 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
)
|