From 54bd5a188c005fbf57974eab7fb7e954bff90ad3 Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Fri, 15 Dec 2023 16:39:52 +0000 Subject: [PATCH] fix(cli): Statically compile the CLI Statically compiles the CLI so version changes of the dependecnies don't cause dependency hell in Homebrew. --- .goreleaser.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 21b958e..f99cbcf 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -21,7 +21,7 @@ builds: flags: - -mod=readonly ldflags: - - -s -w + - -s -w -extldflags=-static - id: mac-intel main: ./cmd/postcards binary: postcards