-
-
Notifications
You must be signed in to change notification settings - Fork 779
Description
Hello, first let me say I really like Task and hope to contribute to it and get more adoption of it in my OSS projects (and in my work @sourcegraph where possible.)
One aspect that confuses me a bit is that the installation docs explicitly mention it cannot be installed via go get:
Task requires Go Modules and doesn’t officially support installing via go get anymore.
From what I can tell, nothing about Task prevents go get from working and in fact go get -u github.com/go-task/task/cmd/task works perfectly fine today - so long as you are running a recent Go version with module support (which I imagine most are at this point.)
I totally understand the binary options being suggested by default, but it's weird to say it doesn't officially support go get because it makes me (and I imagine others) think that:
- Task has some very complex build process that doesn't work with
go get - Task has some non-idiomatic Go code
- Task requires CGO dependencies that can't be built with
go get
It seems i haven't been the first with this thought before, as well: #250 (comment)
My suggestion is to do one of the following:
- Declare that
go get -u github.com/go-task/task/cmd/taskworks - because it does and this is often the preferred installation method of many Gophers. - OR at least don't declare that it isn't supported, because this makes me think it doesn't work and gives me a more negative view of Task which does it a disservice. It's a really great tool and I want to see it adopted more :)