mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
snap: Fetch mage with GO111MODULE=off
This commit is contained in:
parent
f1dede3708
commit
a475bf125c
1 changed files with 4 additions and 3 deletions
|
@ -32,13 +32,14 @@ parts:
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
echo "\nStarting override-build:"
|
echo "\nStarting override-build:"
|
||||||
export GO111MODULE=on
|
|
||||||
export GOPATH=$(realpath ../go)
|
export GOPATH=$(realpath ../go)
|
||||||
export PATH=$GOPATH/bin:/snap/bin:$PATH
|
export PATH=$GOPATH/bin:$PATH
|
||||||
|
|
||||||
echo ' * Running "go get -v github.com/magefile/mage"...'
|
echo ' * Running "go get -v github.com/magefile/mage"...'
|
||||||
go get -v github.com/magefile/mage
|
GO111MODULE=off go get -v github.com/magefile/mage
|
||||||
|
|
||||||
echo ' * Running "mage -v test"...'
|
echo ' * Running "mage -v test"...'
|
||||||
|
export GO111MODULE=on
|
||||||
mage -v test
|
mage -v test
|
||||||
|
|
||||||
echo " * Building hugo (build tag: none)..."
|
echo " * Building hugo (build tag: none)..."
|
||||||
|
|
Loading…
Reference in a new issue