1
0
mirror of https://github.com/go-task/task.git synced 2025-07-15 01:35:00 +02:00

Merge pull request #1043 from go-task/update-install-from-source-docs

chore: remove installation docs for Go 1.15
This commit is contained in:
Pete Davison
2023-03-09 19:16:57 +00:00
committed by GitHub
2 changed files with 5 additions and 10 deletions

View File

@ -170,9 +170,10 @@ This installation method is community owned.
### Go Modules
First, make sure you have [Go][go] properly installed and setup.
Ensure that you have a supported version of [Go][go] properly installed and setup. You can find
the minimum required version of Go in the [go.mod](https://github.com/go-task/task/blob/master/go.mod#L3) file.
You can easily install the latest release globally by running:
You can then install the latest release globally by running:
```bash
go install github.com/go-task/task/v3/cmd/task@latest
@ -184,12 +185,6 @@ Or you can install into another directory:
env GOBIN=/bin go install github.com/go-task/task/v3/cmd/task@latest
```
If using Go 1.15 or earlier, instead use:
```bash
env GO111MODULE=on go get -u github.com/go-task/task/v3/cmd/task@latest
```
:::tip
For CI environments we recommend using the [install script](#get-the-binary)

4
go.mod
View File

@ -1,5 +1,7 @@
module github.com/go-task/task/v3
go 1.19
require (
github.com/Masterminds/semver/v3 v3.2.0
github.com/fatih/color v1.14.1
@ -26,5 +28,3 @@ require (
golang.org/x/term v0.3.0 // indirect
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
)
go 1.19