mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 10:12:19 +00:00
f4848e46d4
* Safer validator protection db dir * handle old account structure * Merge refs/heads/master into move_validator_protection_db * Merge refs/heads/master into move_validator_protection_db * Merge refs/heads/master into move_validator_protection_db * Merge refs/heads/master into move_validator_protection_db * fix e2e issue * separate function * Merge branch 'move_validator_protection_db' of github.com:prysmaticlabs/prysm into move_validator_protection_db * Merge branch 'master' of github.com:prysmaticlabs/prysm into move_validator_protection_db * Merge refs/heads/master into move_validator_protection_db * Merge refs/heads/master into move_validator_protection_db * Merge refs/heads/master into move_validator_protection_db * Update shared/fileutil/fileutil.go * Merge refs/heads/master into move_validator_protection_db
24 lines
660 B
Python
24 lines
660 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 = [
|
|
"@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/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
],
|
|
)
|