mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
12480e12b2
* Add flags for disabling selected API * tests * build file * Use comma-separated modules * test fix * fix gateway tests * fix import in flag tests
29 lines
888 B
Python
29 lines
888 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary")
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"log.go",
|
|
"main.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/server",
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
"//api/gateway:go_default_library",
|
|
"//beacon-chain/gateway:go_default_library",
|
|
"//beacon-chain/rpc/apimiddleware:go_default_library",
|
|
"//cmd/beacon-chain/flags:go_default_library",
|
|
"//runtime/maxprocs:go_default_library",
|
|
"@com_github_gorilla_mux//:go_default_library",
|
|
"@com_github_joonix_log//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "server",
|
|
embed = [":go_default_library"],
|
|
visibility = ["//visibility:private"],
|
|
)
|