mirror of
https://github.com/gohugoio/hugo.git
synced 2025-02-19 21:44:46 +00:00
Add GOPATH Hugo building tip
This commit is contained in:
parent
31a8bb8c07
commit
b5e17f7c83
3 changed files with 6 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -19,3 +19,6 @@ dock.sh
|
||||||
|
|
||||||
GoBuilds
|
GoBuilds
|
||||||
dist
|
dist
|
||||||
|
|
||||||
|
|
||||||
|
vendor
|
|
@ -113,6 +113,8 @@ cd hugo
|
||||||
go install
|
go install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
>Note: Some Go tools may not be fully updated to support Go Modules yet. One example would be LiteIDE. Follow [this workaround](https://github.com/visualfc/liteide/issues/986#issuecomment-428117702) for how to continue to work with Hugo below `GOPATH`.
|
||||||
|
|
||||||
For some convenient build and test targets, you also will want to install Mage:
|
For some convenient build and test targets, you also will want to install Mage:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -58,7 +58,7 @@ require (
|
||||||
github.com/wellington/go-libsass v0.0.0-20180624165032-615eaa47ef79 // indirect
|
github.com/wellington/go-libsass v0.0.0-20180624165032-615eaa47ef79 // indirect
|
||||||
github.com/yosssi/ace v0.0.5
|
github.com/yosssi/ace v0.0.5
|
||||||
golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81
|
golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81
|
||||||
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
|
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd // indirect
|
||||||
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
|
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
|
||||||
golang.org/x/text v0.3.0
|
golang.org/x/text v0.3.0
|
||||||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
|
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
|
||||||
|
|
Loading…
Reference in a new issue