Building Multiple Binaries with a Single Command #4886
Unanswered
ryancurrah
asked this question in
Q&A
Replies: 1 comment 2 replies
-
hey, goreleaser cannot do this right now I think... but looks like something that can be added as a feature. I'll look into it for v2.1 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello GoReleaser Team,
I've been exploring various methods to optimize the build process. I came across an approach (https://blog.howardjohn.info/posts/go-build-times/#building-multiple-binaries) that significantly reduces build time by compiling multiple binaries in a single
go build
command, as demonstrated below:go build -o /tmp/ $BINARIES
Where
$BINARIES
includes paths to various main packages.This method proved to be faster compared to building binaries sequentially or even in parallel. I am curious to know if GoReleaser supports or can be configured to utilize this approach to build multiple binaries in a single command to leverage concurrent builds and caching more effectively. Is this possible with GoReleaser, or are there any workarounds you would recommend?
Thank you for your assistance!
Beta Was this translation helpful? Give feedback.
All reactions