mirror of
https://github.com/gohugoio/hugo.git
synced 2025-02-04 04:41:06 +00:00
snap: Revert to "mage test" because "mage check" fails
"mage check", which runs "go test", gofmt, "go vet", and
"go test -race", fails one way or another especially on
on non-amd64 architectures, and sometimes even on amd64 too.
Partially reverting my undocumented change in commit 294c0f8
.
Fixes #4578
This commit is contained in:
parent
874159b543
commit
db0633c1a4
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ parts:
|
||||||
export PATH=$GOPATH/bin:$PATH
|
export PATH=$GOPATH/bin:$PATH
|
||||||
cd $GOPATH/src/github.com/gohugoio/hugo
|
cd $GOPATH/src/github.com/gohugoio/hugo
|
||||||
go get github.com/magefile/mage
|
go get github.com/magefile/mage
|
||||||
mage -v vendor check
|
mage -v vendor test
|
||||||
build: |
|
build: |
|
||||||
export GOPATH=$(dirname $SNAPCRAFT_PART_INSTALL)/go
|
export GOPATH=$(dirname $SNAPCRAFT_PART_INSTALL)/go
|
||||||
export PATH=$GOPATH/bin:$PATH
|
export PATH=$GOPATH/bin:$PATH
|
||||||
|
|
Loading…
Reference in a new issue