mirror of
https://github.com/go-task/task.git
synced 2025-03-19 21:17:46 +02:00
chore: remove installation docs for Go 1.15
This commit is contained in:
parent
f2114f09f7
commit
97ffd84d0e
@ -170,9 +170,10 @@ This installation method is community owned.
|
|||||||
|
|
||||||
### Go Modules
|
### 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
|
```bash
|
||||||
go install github.com/go-task/task/v3/cmd/task@latest
|
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
|
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
|
:::tip
|
||||||
|
|
||||||
For CI environments we recommend using the [install script](#get-the-binary)
|
For CI environments we recommend using the [install script](#get-the-binary)
|
||||||
|
4
go.mod
4
go.mod
@ -1,5 +1,7 @@
|
|||||||
module github.com/go-task/task/v3
|
module github.com/go-task/task/v3
|
||||||
|
|
||||||
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/Masterminds/semver/v3 v3.2.0
|
github.com/Masterminds/semver/v3 v3.2.0
|
||||||
github.com/fatih/color v1.14.1
|
github.com/fatih/color v1.14.1
|
||||||
@ -26,5 +28,3 @@ require (
|
|||||||
golang.org/x/term v0.3.0 // indirect
|
golang.org/x/term v0.3.0 // indirect
|
||||||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
|
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
|
||||||
)
|
)
|
||||||
|
|
||||||
go 1.19
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user