github.com/prysmaticlabs/prysm@v1.4.4/shared/params/BUILD.bazel (about)

     1  load("@prysm//tools/go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "go_default_library",
     5      srcs = [
     6          "config.go",
     7          "config_utils_develop.go",  # keep
     8          "config_utils_prod.go",
     9          "io_config.go",
    10          "loader.go",
    11          "mainnet_config.go",
    12          "minimal_config.go",
    13          "network_config.go",
    14          "testnet_e2e_config.go",
    15          "testnet_prater_config.go",
    16          "testnet_pyrmont_config.go",
    17          "testnet_toledo_config.go",
    18          "testutils.go",
    19          "values.go",
    20      ],
    21      importpath = "github.com/prysmaticlabs/prysm/shared/params",
    22      visibility = ["//visibility:public"],
    23      deps = [
    24          "//shared/bytesutil:go_default_library",
    25          "@com_github_ethereum_go_ethereum//params:go_default_library",
    26          "@com_github_mohae_deepcopy//:go_default_library",
    27          "@com_github_prysmaticlabs_eth2_types//:go_default_library",
    28          "@com_github_sirupsen_logrus//:go_default_library",
    29          "@in_gopkg_yaml_v2//:go_default_library",
    30      ],
    31  )
    32  
    33  go_test(
    34      name = "go_default_test",
    35      size = "small",
    36      srcs = [
    37          "checktags_test.go",
    38          "config_test.go",
    39          "loader_test.go",
    40      ],
    41      data = glob(["*.yaml"]) + [
    42          "@eth2_spec_tests_mainnet//:test_data",
    43          "@eth2_spec_tests_minimal//:test_data",
    44      ],
    45      embed = [":go_default_library"],
    46      gotags = ["develop"],
    47      race = "on",
    48      deps = [
    49          "//shared/testutil/assert:go_default_library",
    50          "//shared/testutil/require:go_default_library",
    51          "@com_github_sirupsen_logrus//:go_default_library",
    52          "@io_bazel_rules_go//go/tools/bazel:go_default_library",
    53      ],
    54  )