prysm-pulse/validator/web/BUILD.bazel
Matthew Obwaya 33410a0ec1
Remove uses of deprecated go_embed rules_go (#12719)
* Remove prysm_web_ui http_archive from WORKSPACE

* Remove go_embed_data_dependencies() from WORKSPACE

* Remove go_embed_data target from validator/web/BUILD.bazel

* Remove # gazelle:ignore site_data.go annotation from validator/web/BUILD.bazel

* Run bazel run //:gazelle

Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2023-08-16 15:47:09 +00:00

26 lines
624 B
Python

load("@prysm//tools/go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"doc.go",
"handler.go",
"headers.go",
"log.go",
"site_data.go",
],
importpath = "github.com/prysmaticlabs/prysm/v4/validator/web",
visibility = [
"//api/gateway:__pkg__",
"//validator:__subpackages__",
],
deps = ["@com_github_sirupsen_logrus//:go_default_library"],
)
go_test(
name = "go_default_test",
srcs = ["handler_test.go"],
embed = [":go_default_library"],
deps = ["//testing/assert:go_default_library"],
)