Update to latest Mage

And run the Appveyor tests without GOPATH.

Fixes https://github.com/magefile/mage/issues/79
This commit is contained in:
Bjørn Erik Pedersen 2018-09-02 14:21:33 +02:00
parent 0cc936583b
commit 3b103cb7b7
3 changed files with 4 additions and 5 deletions

View file

@ -6,7 +6,6 @@ init:
- go env
environment:
GOPATH: C:\GOPATH\
HUGO_BUILD_TAGS: extended
# clones and cd's to path
@ -15,7 +14,7 @@ clone_folder: C:\hugo
install:
# - gem install asciidoctor
- pip install docutils
- env GO111MODULE=off go get github.com/magefile/mage
- go get github.com/magefile/mage
build_script:
- mage hugoRace

2
go.mod
View file

@ -30,7 +30,7 @@ require (
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/jdkato/prose v1.1.0
github.com/kyokomi/emoji v1.5.1
github.com/magefile/mage v2.2.0+incompatible
github.com/magefile/mage v1.2.4
github.com/magiconair/properties v1.8.0 // indirect
github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6
github.com/mattn/go-isatty v0.0.3 // indirect

4
go.sum
View file

@ -56,8 +56,8 @@ github.com/jdkato/prose v1.1.0 h1:LpvmDGwbKGTgdCH3a8VJL56sr7p/wOFPw/R4lM4PfFg=
github.com/jdkato/prose v1.1.0/go.mod h1:jkF0lkxaX5PFSlk9l4Gh9Y+T57TqUZziWT7uZbW5ADg=
github.com/kyokomi/emoji v1.5.1 h1:qp9dub1mW7C4MlvoRENH6EAENb9skEFOvIEbp1Waj38=
github.com/kyokomi/emoji v1.5.1/go.mod h1:mZ6aGCD7yk8j6QY6KICwnZ2pxoszVseX1DNoGtU2tBA=
github.com/magefile/mage v2.2.0+incompatible h1:F+gKos6AzbeWbX2c1ocoVxYpm+kzUAR4zAp8WUAWzu8=
github.com/magefile/mage v2.2.0+incompatible/go.mod h1:IUDi13rsHje59lecXokTfGX0QIzO45uVPlXnJYsXepA=
github.com/magefile/mage v1.2.4 h1:2QnmtjngYyEG7hFmpnWXcqNg6dYRerYkrltrIcYu1o0=
github.com/magefile/mage v1.2.4/go.mod h1:IUDi13rsHje59lecXokTfGX0QIzO45uVPlXnJYsXepA=
github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY=
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6 h1:LZhVjIISSbj8qLf2qDPP0D8z0uvOWAW5C85ly5mJW6c=