Permalink
Browse files

snap: Fetch mage with GO111MODULE=off

  • Loading branch information...
anthonyfok committed Sep 30, 2018
1 parent f1dede3 commit a475bf125cd76dacc1bf7ccbcc263a7b59efc510
Showing with 4 additions and 3 deletions.
  1. +4 −3 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)..."

0 comments on commit a475bf1

Please sign in to comment.