From: Anthony Fok Date: Sun, 30 Sep 2018 20:22:01 +0000 (-0600) Subject: snap: Fetch mage with GO111MODULE=off X-Git-Tag: v0.50~85 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a475bf125;p=brevno-suite%2Fhugo snap: Fetch mage with GO111MODULE=off --- diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index ddf79148..1b123813 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -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)..."