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",
|
|
|
|
],
|
2019-01-31 02:53:58 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/sliceutil",
|
2018-12-13 16:35:50 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2019-08-04 22:45:03 +00:00
|
|
|
deps = ["@com_github_pkg_errors//:go_default_library"],
|
2018-12-13 16:35:50 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
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-07-20 01:27:35 +00:00
|
|
|
deps = ["@com_github_prysmaticlabs_go_ssz//:go_default_library"],
|
2018-12-13 16:35:50 +00:00
|
|
|
)
|