2018-12-13 16:35:50 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-01-13 07:57:39 +00:00
|
|
|
srcs = [
|
|
|
|
"doc.go",
|
|
|
|
"slice.go",
|
|
|
|
"slice_generic.go",
|
|
|
|
],
|
2018-12-13 16:35:50 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/slices",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-01-13 07:57:39 +00:00
|
|
|
srcs = [
|
|
|
|
"slice_generic_test.go",
|
|
|
|
"slice_test.go",
|
|
|
|
],
|
2018-12-13 16:35:50 +00:00
|
|
|
embed = [":go_default_library"],
|
2019-01-13 07:57:39 +00:00
|
|
|
deps = ["//shared/ssz:go_default_library"],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_generic_test",
|
|
|
|
srcs = ["slice_generic_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = ["//shared/ssz:go_default_library"],
|
2018-12-13 16:35:50 +00:00
|
|
|
)
|