Giter Site home page Giter Site logo

Comments (4)

daniejstriata avatar daniejstriata commented on July 30, 2024

Used one of your precompiled binaries at 4.8M, it was also compressed down to 1.6M

from sasqwatch.

fabio42 avatar fabio42 commented on July 30, 2024

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 :)

from sasqwatch.

daniejstriata avatar daniejstriata commented on July 30, 2024

I could compress your release with upx 4.02 but not my build.

from sasqwatch.

fabio42 avatar fabio42 commented on July 30, 2024

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:

CGO_ENABLED=0 go build -ldflags="-s -w"

Another important parameter would be which version of go you use for the build step.
From the logs the version go version go1.20.4 linux/amd64 was used to produce the latest binaries.

from sasqwatch.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.