mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
19 lines
463 B
Python
19 lines
463 B
Python
|
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"],
|
||
|
)
|