mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-27 00:19:36 -05:00
19 lines
456 B
Python
19 lines
456 B
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
||
|
|
||
|
go_library(
|
||
|
name = "upload_lib",
|
||
|
srcs = ["upload.go"],
|
||
|
importpath = "github.com/edgelesssys/constellation/v2/image/upload",
|
||
|
visibility = ["//visibility:private"],
|
||
|
deps = [
|
||
|
"//image/upload/internal/cmd",
|
||
|
"@com_github_spf13_cobra//:cobra",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_binary(
|
||
|
name = "upload",
|
||
|
embed = [":upload_lib"],
|
||
|
visibility = ["//visibility:public"],
|
||
|
)
|