mint
mint copied to clipboard
Support `go install` to install mint
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:
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.
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