Update import path in snapcraft.yaml due to the org transition

This commit is contained in:
digitalcraftsman 2017-06-13 19:28:34 +02:00 committed by GitHub
parent 873a6f1885
commit 9266bf9d4c

View file

@ -17,7 +17,7 @@ parts:
hugo:
source: .
plugin: go
go-importpath: github.com/spf13/hugo
go-importpath: github.com/gohugoio/hugo
build-packages:
- git
- make
@ -26,7 +26,7 @@ parts:
prepare: |
export GOPATH=$(dirname $SNAPCRAFT_PART_INSTALL)/go
export PATH=$GOPATH/bin:$PATH
cd $GOPATH/src/github.com/spf13/hugo
cd $GOPATH/src/github.com/gohugoio/hugo
make vendor
make test
rm -f $GOPATH/bin/govendor