I’d like to install a binary using `go install` , ...
# general
l
I’d like to install a binary using
go install
, but that’s not the pants way!
pants package
will add the binary under
dist/
, but what will add the binary under
GOPATH
so I can run:
Copy code
$ my-cool-cli --help
e
Pants has no verb yet for this. Package does what
go build
does. So this would be new Pants work and then support for the languages that supported the concept of install - Go, Rust, maybe others? The closest you get today is
pants run ...
, but that's slightly different depending on what you're after.
l
I was hoping to use Pants to manage all
go
code within my team, including a
cli
we have for internal use. Not sure what a workaround will be, but I can post what we decide for others to learn from. That said, I’m happy to help with defining a new verb for langs that have the
install
concept.