hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit a2f0f9d475073c0bd01cfac960ee1939878fff0a
parent 1ff54ab3d985fa324051d9698edc1fde30fcf097
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed, 29 Aug 2018 09:35:45 +0200

snapcraft: Update to work with Go Modules

Diffstat:
Msnapcraft.yaml | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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)..."