mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-14 02:14:21 -05:00
20 lines
489 B
Python
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"],
|
||
|
)
|