File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,35 @@ sudo snap install task
2727
2828## Go
2929
30- If you have a [ Go] [ go ] environment setup, you can simply run:
30+ Task now uses [ Go Modules] ( https://github.com/golang/go/wiki/Modules ) , which
31+ means you may have trouble compiling it on older Go versions.
32+
33+ For CI environments we recommend using the [ Install Script] ( #install-script )
34+ instead, which is faster and more stable, since it'll just download the latest
35+ released binary, instead of compiling the edge (master branch) version.
36+
37+ Installing in your ` $GOPATH ` :
3138
3239``` bash
3340go get -u -v github.com/go-task/task/cmd/task
3441```
3542
43+ Installing in another directory:
44+
45+ ``` bash
46+ git clone https://github.com/go-task/task
47+ cd task
48+
49+ # compiling binary to $GOPATH/bin
50+ go install -v
51+
52+ # compiling it to another location
53+ # use -o ./task.exe on Windows
54+ go build -v -o ./task ./cmd/task
55+ ```
56+
57+ Both methods requires having the [ Go] [ go ] environment properly setup locally.
58+
3659## Install script
3760
3861We also have a [ install script] [ installscript ] , which is very useful on
You can’t perform that action at this time.
0 commit comments