From a2f0f9d475073c0bd01cfac960ee1939878fff0a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 29 Aug 2018 09:35:45 +0200 Subject: [PATCH] snapcraft: Update to work with Go Modules --- snapcraft.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index b8b20003..4edbd6db 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -7,6 +7,8 @@ description: | with content and templates and renders them into a full HTML website. confinement: strict grade: devel # "devel" or "stable" +environment: + GO111MODULE: on apps: hugo: @@ -28,8 +30,6 @@ parts: cd $GOPATH/src/github.com/gohugoio/hugo echo ' * Running "go get -v github.com/magefile/mage"...' go get -v github.com/magefile/mage - echo ' * Running "mage -v vendor"...' - mage -v vendor echo ' * Running "mage -v test"...' mage -v test echo " * Building hugo (build tag: none)..." -- 2.30.2