mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user