constellation/hack/versioninfogen/BUILD.bazel

19 lines
463 B
Python
Raw Normal View History

load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "versioninfogen_lib",
srcs = ["main.go"],
importpath = "github.com/edgelesssys/constellation/v2/hack/versioninfogen",
visibility = ["//visibility:private"],
deps = [
"//internal/semver",
"//internal/versions",
],
)
go_binary(
name = "versioninfogen",
embed = [":versioninfogen_lib"],
visibility = ["//visibility:public"],
)