mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
33410a0ec1
* 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>
26 lines
624 B
Python
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"],
|
|
)
|