ref: a2f0f9d475073c0bd01cfac960ee1939878fff0a
parent: 1ff54ab3d985fa324051d9698edc1fde30fcf097
author: Bjørn Erik Pedersen <[email protected]>
date: Wed Aug 29 05:35:45 EDT 2018
snapcraft: Update to work with Go Modules
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -7,6 +7,8 @@
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 @@
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)..."