Created
July 29, 2019 07:22
-
-
Save fd0/7e30c2d4c379454842660e9096ef83cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/build.go b/build.go | |
index 2e3e5d05..0b3a6a61 100644 | |
--- a/build.go | |
+++ b/build.go | |
@@ -575,6 +575,9 @@ func main() { | |
buildArgs = append(buildArgs, "-mod=vendor") | |
testArgs = append(testArgs, "-mod=vendor") | |
+ | |
+ goEnv["GO111MODULE"] = "on" | |
+ buildEnv["GO111MODULE"] = "on" | |
} else { | |
if tempdir == "" { | |
tempdir, err = ioutil.TempDir("", fmt.Sprintf("%v-build-", config.Name)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment