From 5d4faaff65722ab4dad47a151c52f062a82b6e5e Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Thu, 16 Jan 2025 07:41:27 -0500 Subject: [PATCH] Standarize release build makefile --- .gitignore | 4 +++- Makefile | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 91ff0b1..5a0497e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -gerbil \ No newline at end of file +gerbil +.DS_Store +bin/ \ No newline at end of file diff --git a/Makefile b/Makefile index 378db1c..9a29170 100644 --- a/Makefile +++ b/Makefile @@ -13,5 +13,9 @@ test: local: CGO_ENABLED=0 GOOS=linux go build -o gerbil +release: + CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o bin/gerbil_linux_arm64 + CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o bin/gerbil_linux_amd64 + clean: rm gerbil \ No newline at end of file