-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
🔖 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
andGOARCH
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?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels