mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
acddb6035a
* Fix rename issue * nishant feedback * add test * Update shared/fileutil/fileutil.go Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> * preston feedback Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
27 lines
800 B
Python
27 lines
800 B
Python
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"],
|
|
deps = [
|
|
"//shared/params:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["fileutil_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//shared/params:go_default_library",
|
|
"//shared/testutil:go_default_library",
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
],
|
|
)
|