mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
snap: Fetch mage with GO111MODULE=off
This commit is contained in:
@ -32,13 +32,14 @@ parts:
|
||||
set -ex
|
||||
|
||||
echo "\nStarting override-build:"
|
||||
export GO111MODULE=on
|
||||
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"...'
|
||||
go get -v github.com/magefile/mage
|
||||
GO111MODULE=off go get -v github.com/magefile/mage
|
||||
|
||||
echo ' * Running "mage -v test"...'
|
||||
export GO111MODULE=on
|
||||
mage -v test
|
||||
|
||||
echo " * Building hugo (build tag: none)..."
|
||||
|
Reference in New Issue
Block a user