Add workaround to Fetch from GitHub documentation

`govendor get` attempts to run `govendor install +local` after fetching
dependencies, but it would not succeed unless the current directory is
somewhere inside $GOPATH/src?  That is my limited understanding anyway.

Fixes gohugoio/hugo#3657
This commit is contained in:
Anthony Fok
2017-06-28 03:12:38 -06:00
parent db0a3c0853
commit c4e21471ad
+3
View File
@@ -124,7 +124,10 @@ You **must use govendor** to fetch Hugo's dependencies.
### Fetch from GitHub
Assuming `$HOME/go/bin` is in your PATH:
go get github.com/kardianos/govendor
cd $HOME/go/src/github.com
govendor get github.com/gohugoio/hugo
`govendor get` will fetch Hugo and all its dependent libraries to