From a97f4fe8096eb1c8f62a029e9e967ed3e5423dec Mon Sep 17 00:00:00 2001 From: Peter Rifel Date: Sat, 20 Mar 2021 20:39:20 -0500 Subject: [PATCH] Add darwin bazel outputs for protokube and channels --- channels/cmd/channels/BUILD.bazel | 2 ++ protokube/cmd/protokube/BUILD.bazel | 2 ++ 2 files changed, 4 insertions(+) diff --git a/channels/cmd/channels/BUILD.bazel b/channels/cmd/channels/BUILD.bazel index 1e0c4a9647..a76ce6b5ac 100644 --- a/channels/cmd/channels/BUILD.bazel +++ b/channels/cmd/channels/BUILD.bazel @@ -16,6 +16,8 @@ go_library( go_binary( name = "channels", 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_arm64": "linux-arm64/channels", }), diff --git a/protokube/cmd/protokube/BUILD.bazel b/protokube/cmd/protokube/BUILD.bazel index 99d2fc395b..d9022f7fed 100644 --- a/protokube/cmd/protokube/BUILD.bazel +++ b/protokube/cmd/protokube/BUILD.bazel @@ -29,6 +29,8 @@ go_library( go_binary( name = "protokube", 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_arm64": "linux-arm64/protokube", }),