Add GOPATH Hugo building tip

This commit is contained in:
Bjørn Erik Pedersen 2018-10-09 11:09:00 +02:00
parent 31a8bb8c07
commit b5e17f7c83
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
3 changed files with 6 additions and 1 deletions

3
.gitignore vendored
View file

@ -19,3 +19,6 @@ dock.sh
GoBuilds
dist
vendor

View file

@ -113,6 +113,8 @@ cd hugo
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:
```bash

2
go.mod
View file

@ -58,7 +58,7 @@ require (
github.com/wellington/go-libsass v0.0.0-20180624165032-615eaa47ef79 // indirect
github.com/yosssi/ace v0.0.5
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/text v0.3.0
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect