Skip to content

Commit

Permalink
snapcraft: Update to work with Go Modules
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Aug 29, 2018
1 parent 1ff54ab commit a2f0f9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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)..."
Expand Down

0 comments on commit a2f0f9d

Please sign in to comment.