bazel: build both cli variants as part of devbuild

This commit is contained in:
Malte Poll 2023-05-30 09:05:36 +02:00 committed by Malte Poll
parent c62e54831b
commit 26bc653d0e
8 changed files with 77 additions and 5 deletions

View file

@ -57,3 +57,15 @@ go_binary(
"enterprise",
]
]
alias(
name = "cli_edition_host",
actual = select(
{
"//bazel/settings:cli_edition_enterprise": ":cli_enterprise_host",
"//bazel/settings:cli_edition_oss": ":cli_oss_host",
"//conditions:default": ":cli_oss_host",
},
),
visibility = ["//visibility:public"],
)