Bearer / bearer

Code security scanning tool (SAST) to discover, filter and prioritize security and privacy risks.
https://docs.bearer.com
Other
1.99k stars 100 forks source link

Request: Normalize Go build workflow #1697

Open mcandre opened 4 days ago

mcandre commented 4 days ago

Unlike other Go projects, bearer breaks fundamental aspects of the build process.

Please enhance the project structure, so that a simple go install ./... run from the project top level directory, is able to compile and install the bearer CLI to $GOPATH/bin, or go install github.com/Bearer/bearer/cmd/bearer@latest from any working directory.

didroe commented 2 days ago

Please could you share a little more detail about what error/behaviour you are getting?

From an initial investigation on my side:

Is the replace error the only issue you have? Did a local install also fail?