2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary")
|
2019-08-28 16:07:31 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["main.go"],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/tools/unencrypted-keys-gen",
|
2019-09-09 21:31:19 +00:00
|
|
|
visibility = [
|
|
|
|
"//tools/interop/convert-keys:__pkg__",
|
|
|
|
],
|
2019-08-28 16:07:31 +00:00
|
|
|
deps = [
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
2021-09-21 18:11:16 +00:00
|
|
|
"//runtime/interop:go_default_library",
|
2020-05-31 06:44:34 +00:00
|
|
|
"//tools/unencrypted-keys-gen/keygen:go_default_library",
|
2019-08-28 16:07:31 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_binary(
|
|
|
|
name = "unencrypted-keys-gen",
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["main_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
2020-08-25 15:23:06 +00:00
|
|
|
deps = [
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2020-08-25 15:23:06 +00:00
|
|
|
"//tools/unencrypted-keys-gen/keygen:go_default_library",
|
|
|
|
],
|
2019-08-28 16:07:31 +00:00
|
|
|
)
|