constellation/hack/configapi/BUILD.bazel

20 lines
489 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "configapi_lib",
srcs = ["main.go"],
importpath = "github.com/edgelesssys/constellation/v2/hack/configapi",
visibility = ["//visibility:private"],
deps = [
"//internal/api/configapi",
"//internal/kms/uri",
"@com_github_spf13_cobra//:cobra",
],
)
go_binary(
name = "upload",
embed = [":configapi_lib"],
visibility = ["//visibility:public"],
)