mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-12 01:14:28 -05:00
46f5b1734e
* cli: upgrade check show cli upgrades * only check compatibility for valid upgrades * use semver.Sort * extend unit tests * add unit test for new compatible cli versions * adapt to feedback * fix rebase * rework output * minor -> major Co-authored-by: Otto Bittner <cobittner@posteo.net> * minor -> major Co-authored-by: Otto Bittner <cobittner@posteo.net> * dynamic major version Co-authored-by: Otto Bittner <cobittner@posteo.net> * remove currentK8sVer argument * bazel gen & tidy * bazel update --------- Co-authored-by: Otto Bittner <cobittner@posteo.net>
22 lines
515 B
Python
22 lines
515 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
go_library(
|
|
name = "clidocgen_lib",
|
|
srcs = ["main.go"],
|
|
importpath = "github.com/edgelesssys/constellation/v2/hack/clidocgen",
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
"//cli/cmd",
|
|
"@com_github_spf13_cobra//:cobra",
|
|
"@com_github_spf13_cobra//doc",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "clidocgen",
|
|
embed = [":clidocgen_lib"],
|
|
# keep
|
|
pure = "on",
|
|
visibility = ["//visibility:public"],
|
|
)
|