Fiddling with GOPATH

This commit is contained in:
Brendan Abolivier 2019-05-21 18:56:29 +01:00
parent 6378ef3197
commit 20c79e7bf3

View file

@ -19,10 +19,10 @@ cd `dirname $0`/..
# We should move from gometalinter asap as per https://github.com/matrix-org/dendrite/issues/697 so this is a temporary
# measure. It is not, however, in the scope of this PR.
export GO111MODULE=off
export GOPATH="$(pwd):$(pwd)/vendor"
export GOPATH="$(pwd)/vendor:$GOPATH"
# prefer the versions of gometalinter and the linters that we install
# to anythign that ends up on the PATH.
export PATH="$(pwd)/bin:$(pwd)/vendor/bin:$PATH"
export PATH="$(pwd)/vendor/bin:$PATH"
args=""
if [ ${1:-""} = "fast" ]