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

Support go install to install mint #17

Open
sword-jin opened this issue Apr 10, 2024 · 2 comments
Open

Support go install to install mint #17

sword-jin opened this issue Apr 10, 2024 · 2 comments

Comments

@sword-jin
Copy link
Contributor

Expected Behavior

Is it possible to support go install? I can't use go install to install mint now.


Actual Behavior


Steps to Reproduce the Problem


Specifications

  • Version:
  • Platform:
@kcq
Copy link
Contributor

kcq commented Apr 14, 2024

Potentially possible, but it wouldn't be a single call. Need to build/install two executables (mint and mint-sensor) and you need to explicitly set the OS flag for the sensor.

@sword-jin
Copy link
Contributor Author

sword-jin commented Apr 17, 2024

I don't know why this package doesn't work,

❯ go install github.com/mintoolkit/mint/cmd/mint@master
go: github.com/mintoolkit/mint/cmd/mint@master (in github.com/mintoolkit/[email protected]):
        The go.mod file for the module providing named packages contains one or                                                 more replace directives. It must not contain directives that would cause                                                it to be interpreted differently than if it were the main module.

seems like bacause of the go.mod has

replace github.com/compose-spec/compose-go => ./pkg/third_party/compose-go

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

No branches or pull requests

2 participants