Skip to content
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

Request: Normalize Go build workflow #1697

Open
mcandre opened this issue Oct 20, 2024 · 1 comment
Open

Request: Normalize Go build workflow #1697

mcandre opened this issue Oct 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mcandre
Copy link

mcandre commented Oct 20, 2024

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.

@mcandre mcandre added the enhancement New feature or request label Oct 20, 2024
@didroe
Copy link
Contributor

didroe commented Oct 23, 2024

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

From an initial investigation on my side:

  • go install ./... seems to work
  • go install <repo> fails because we have replace directives in the module file, which don't seem to be supported by remote go installs

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants