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