mint icon indicating copy to clipboard operation
mint copied to clipboard

Support `go install` to install mint

Open sword-jin opened this issue 1 year ago • 2 comments

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:

sword-jin avatar Apr 10 '24 09:04 sword-jin

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.

kcq avatar Apr 14 '24 00:04 kcq

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

sword-jin avatar Apr 17 '24 03:04 sword-jin