github.com/prysmaticlabs/prysm@v1.4.4/shared/slotutil/BUILD.bazel (about) 1 load("@prysm//tools/go:def.bzl", "go_library", "go_test") 2 3 go_library( 4 name = "go_default_library", 5 srcs = [ 6 "countdown.go", 7 "slotticker.go", 8 "slottime.go", 9 ], 10 importpath = "github.com/prysmaticlabs/prysm/shared/slotutil", 11 visibility = ["//visibility:public"], 12 deps = [ 13 "//shared/params:go_default_library", 14 "//shared/timeutils:go_default_library", 15 "@com_github_prysmaticlabs_eth2_types//:go_default_library", 16 "@com_github_sirupsen_logrus//:go_default_library", 17 ], 18 ) 19 20 go_test( 21 name = "go_default_test", 22 size = "small", 23 srcs = [ 24 "countdown_test.go", 25 "slotticker_test.go", 26 "slottime_test.go", 27 "slotutil_test.go", 28 ], 29 embed = [":go_default_library"], 30 deps = [ 31 "//shared/params:go_default_library", 32 "//shared/testutil/require:go_default_library", 33 "//shared/timeutils:go_default_library", 34 "@com_github_prysmaticlabs_eth2_types//:go_default_library", 35 "@com_github_sirupsen_logrus//:go_default_library", 36 "@com_github_sirupsen_logrus//hooks/test:go_default_library", 37 ], 38 )