Git Product home page Git Product logo

Comments (4)

kzantow avatar kzantow commented on May 25, 2024

I don't think we will be able to support this exact use case, since as you noted there is a grype directory and this is unlikely to change.

You have a couple options:

  • Use go run ./cmd/grype, which is effectively what many of us do during development. You can make code changes and re-run this easily.
  • Run make snapshot (after make bootstrap), which will build snapshot releases closest to what our release process does, but this is considerably slower as it builds binaries for all supported platforms.

It looks like we need to get the DEVELOPING.md updated.

from grype.

colton-freeman avatar colton-freeman commented on May 25, 2024

Ah, well thats a bummer. Neither of those use cases will work for us but thank you for the quick feedback. The install.sh build does work for us but was hoping for a source route. If need be you can feel free to close this issue.

from grype.

kzantow avatar kzantow commented on May 25, 2024

@colton-freeman you can also just build the binary with -o <binary-file-name>, for example:

go build -o build/grype ./cmd/grype

... will give you a binary named grype output in a build directory

from grype.

colton-freeman avatar colton-freeman commented on May 25, 2024

oh very nice. that might work for us, thank you.

from grype.

Related Issues (20)

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.