1
0
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:
Pete Davison 2023-03-09 19:07:05 +00:00
parent f2114f09f7
commit 97ffd84d0e
2 changed files with 5 additions and 10 deletions

@ -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

@ -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