🔖 Feature description
Currently, the Makefile builds binaries for all supported OS and architecture combinations (Windows, Linux, macOS — amd64, arm64, etc.) when running make build. This results in unnecessary builds during local development, especially when the developer only needs the binary for their current platform.
🎤 Pitch
In my use case, as a developer working on macOS, I don't need .exe or Linux binaries when building and testing locally. However, the current setup builds all of them every time, which slows down development and adds clutter in the bin/ directory.
This feature would significantly improve developer experience by:
- Reducing local build time
- Avoiding unnecessary artifacts
- Making the build process more relevant and efficient during development
At the same time, it still allows full cross-compilation in CI pipelines where it's actually required.
✌️ Solution
I want this feature to:
- Default the
Makefile to build only for the developer’s current OS and architecture
- Support optional
GOOS and GOARCH environment variables to allow cross-compilation when needed (e.g., in CI)
🔄️ Alternative
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
🔖 Feature description
Currently, the Makefile builds binaries for all supported OS and architecture combinations (Windows, Linux, macOS — amd64, arm64, etc.) when running make build. This results in unnecessary builds during local development, especially when the developer only needs the binary for their current platform.
🎤 Pitch
In my use case, as a developer working on macOS, I don't need
.exeor Linux binaries when building and testing locally. However, the current setup builds all of them every time, which slows down development and adds clutter in thebin/directory.This feature would significantly improve developer experience by:
At the same time, it still allows full cross-compilation in CI pipelines where it's actually required.
✌️ Solution
I want this feature to:
Makefileto build only for the developer’s current OS and architectureGOOSandGOARCHenvironment variables to allow cross-compilation when needed (e.g., in CI)🔄️ Alternative
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?