constellation/verify/cmd/BUILD.bazel

25 lines
578 B
Python
Raw Normal View History

load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "cmd_lib",
srcs = ["main.go"],
importpath = "github.com/edgelesssys/constellation/v2/verify/cmd",
visibility = ["//visibility:private"],
deps = [
"//internal/attestation/choose",
"//internal/constants",
"//internal/logger",
"//internal/oid",
"//verify/server",
"@org_uber_go_zap//:zap",
],
)
go_binary(
name = "cmd",
embed = [":cmd_lib"],
# keep
pure = "on",
visibility = ["//visibility:public"],
)