mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
snapcraft: Update to work with Go Modules
This commit is contained in:
parent
1ff54ab3d9
commit
a2f0f9d475
1 changed files with 2 additions and 2 deletions
|
@ -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)..."
|
||||
|
|
Loading…
Reference in a new issue