force modules on

master
Tim Hockin 2019-03-25 08:32:46 -07:00
parent 245c18da57
commit 049cdec740
2 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ fi
export CGO_ENABLED=0 export CGO_ENABLED=0
export GOARCH="${ARCH}" export GOARCH="${ARCH}"
export GOOS="${OS}" export GOOS="${OS}"
export GO111MODULE=on
export GOFLAGS="-mod=vendor" export GOFLAGS="-mod=vendor"
go install \ go install \

View File

@ -19,6 +19,7 @@ set -o nounset
set -o pipefail set -o pipefail
export CGO_ENABLED=0 export CGO_ENABLED=0
export GO111MODULE=on
export GOFLAGS="-mod=vendor" export GOFLAGS="-mod=vendor"
TARGETS=$(for d in "$@"; do echo ./$d/...; done) TARGETS=$(for d in "$@"; do echo ./$d/...; done)