snapcraft: Update to work with Go Modules - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit a2f0f9d475073c0bd01cfac960ee1939878fff0a
DIR parent 1ff54ab3d985fa324051d9698edc1fde30fcf097
HTML 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:
M snapcraft.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR 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)..."