Update to latest Mage
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 2 Sep 2018 12:21:33 +0000 (14:21 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 3 Sep 2018 08:18:59 +0000 (10:18 +0200)
And run the Appveyor tests without GOPATH.

Fixes https://github.com/magefile/mage/issues/79

appveyor.yml
go.mod
go.sum

index 7ab3d07507a72253b26ee92e2498f2d53be08e5d..da5f2cfed2fe65e595d7a4d104a343c4dae67794 100644 (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
diff --git a/go.mod b/go.mod
index ed98a592bf151b1c367eedd71af1ff7054635528..a1d691022f9e0d28ec5a4cad58728f17ea8fb639 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -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
diff --git a/go.sum b/go.sum
index d57f5851d947c972dfc8d0f643f3a510c381fc7d..b10832e120cfd56067df0fc385de080c47e1a1d6 100644 (file)
--- a/go.sum
+++ b/go.sum
@@ -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=