You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
For --single-target builds where the user wants to just get a binary output, it would be nice to be able to override the dist and name_template. This way our project can have a simple make build that outputs a ./project_name binary.
We could have a post-build script that moves the dist/binary_name into the local dir, but I think it would be cleaner if the single-target mode moved the built binary into place.
I need to take a look, but I was thinking that maybe when using --single-target we could build to . by default (or move after built automatically) and also name the binary as go build would... 🤔
Is your feature request related to a problem? Please describe.
For
--single-target
builds where the user wants to just get a binary output, it would be nice to be able to override thedist
andname_template
. This way our project can have a simplemake build
that outputs a./project_name
binary.Describe the solution you'd like
A configuration option like this:
Describe alternatives you've considered
We could have a post-build script that moves the
dist/binary_name
into the local dir, but I think it would be cleaner if the single-target mode moved the built binary into place.Additional context
This would help with the transition away from the Prometheus promu builder.
The text was updated successfully, but these errors were encountered: