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