From d54f54dc45caad6d8cfa9c51a41309a9d96e63fe Mon Sep 17 00:00:00 2001 From: Rauli Ikonen Date: Thu, 15 Nov 2018 13:12:38 +0200 Subject: [PATCH] Make bins target build both Linux and macOS binaries --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 11532f9e6..25183bde1 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,8 @@ update-vendor: ################################################# bins: vendor - packr build -o terraform-provider-aiven . + GOOS=linux GOARCH=amd64 packr build -o terraform-provider-aiven-linux_amd64 . + GOOS=darwin GOARCH=amd64 packr build -o terraform-provider-aiven-darwin_amd64 . ################################################# # Testing and linting