2020-08-10 18:54:40 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["fileutil.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/fileutil",
|
|
|
|
visibility = ["//visibility:public"],
|
2020-09-08 16:42:06 +00:00
|
|
|
deps = [
|
2020-09-10 21:56:58 +00:00
|
|
|
"//shared/params:go_default_library",
|
2020-09-08 16:42:06 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
2020-08-10 18:54:40 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["fileutil_test.go"],
|
|
|
|
deps = [
|
2020-11-10 03:01:56 +00:00
|
|
|
":go_default_library",
|
2020-09-10 21:56:58 +00:00
|
|
|
"//shared/params:go_default_library",
|
2020-08-10 18:54:40 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
|
|
|
],
|
|
|
|
)
|