Add darwin bazel outputs for protokube and channels

This commit is contained in:
Peter Rifel 2021-03-20 20:39:20 -05:00
parent e108cd732e
commit a97f4fe809
No known key found for this signature in database
GPG Key ID: BC6469E5B16DB2B6
2 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,8 @@ go_library(
go_binary( go_binary(
name = "channels", name = "channels",
out = select({ out = select({
"@io_bazel_rules_go//go/platform:darwin_amd64": "darwin-amd64/channels",
"@io_bazel_rules_go//go/platform:darwin_arm64": "darwin-arm64/channels",
"@io_bazel_rules_go//go/platform:linux_amd64": "linux-amd64/channels", "@io_bazel_rules_go//go/platform:linux_amd64": "linux-amd64/channels",
"@io_bazel_rules_go//go/platform:linux_arm64": "linux-arm64/channels", "@io_bazel_rules_go//go/platform:linux_arm64": "linux-arm64/channels",
}), }),

View File

@ -29,6 +29,8 @@ go_library(
go_binary( go_binary(
name = "protokube", name = "protokube",
out = select({ out = select({
"@io_bazel_rules_go//go/platform:darwin_amd64": "darwin-amd64/channels",
"@io_bazel_rules_go//go/platform:darwin_arm64": "darwin-arm64/channels",
"@io_bazel_rules_go//go/platform:linux_amd64": "linux-amd64/protokube", "@io_bazel_rules_go//go/platform:linux_amd64": "linux-amd64/protokube",
"@io_bazel_rules_go//go/platform:linux_arm64": "linux-arm64/protokube", "@io_bazel_rules_go//go/platform:linux_arm64": "linux-arm64/protokube",
}), }),