-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
optimal command to compile from source #12
Comments
Used one of your precompiled binaries at 4.8M, it was also compressed down to 1.6M |
This repos is relying on goreleaser and and github actions to generate the releases binaries. As far as I know there is no way to use UPX with the current version. I would be happy to be proven wrong :) |
I could compress your release with upx 4.02 but not my build. |
Oh ok, the release process is made by goreleaser. I'm not sure what parameters are used there exactly, but I will try to figure that out. Context always help, from you other question I understand you are trying to package this as an RPM, which is actually great :) From the documentation and the config file I defined, it seems pretty basic, and should looks like this:
Another important parameter would be which version of go you use for the build step. |
What would be the preferred and optimal build command be?
I used:
I get a fairly decent binary at 5.1M but for instance I then cannot compress it with UPX.
The text was updated successfully, but these errors were encountered: