summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-08-29 09:35:45 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-08-29 09:37:26 +0200
commita2f0f9d475073c0bd01cfac960ee1939878fff0a (patch)
tree339f4c33930776441e77e742949c2f9918de065c
parent1ff54ab3d985fa324051d9698edc1fde30fcf097 (diff)
snapcraft: Update to work with Go Modules
-rw-r--r--snapcraft.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index b8b200036..4edbd6dbb 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)..."