Use the right linter versions (#370)
Prefer the gometalinter and linters that we build to anything else kicking around on our PATH
This commit is contained in:
parent
568c6f7c66
commit
d118eced54
|
@ -11,10 +11,15 @@
|
|||
# when running the linters, speeding them up but using much more memory.
|
||||
|
||||
|
||||
set -eu
|
||||
set -eux
|
||||
|
||||
cd `dirname $0`/..
|
||||
|
||||
export GOPATH="$(pwd):$(pwd)/vendor"
|
||||
export PATH="$PATH:$(pwd)/bin"
|
||||
|
||||
# prefer the versions of gometalinter and the linters that we install
|
||||
# to anythign that ends up on the PATH.
|
||||
export PATH="$(pwd)/bin:$PATH"
|
||||
|
||||
args=""
|
||||
if [ ${1:-""} = "fast" ]
|
||||
|
|
Loading…
Reference in a new issue