Remove vendor/bin from PATH in script (#335)

We should no longer be building anything into vendor/bin in the scripts,
so adding it to the path can lead to all sorts of confusion if old
binaries are there.
main
Erik Johnston 2017-11-15 11:12:21 +00:00 committed by Richard van der Hoff
parent 8fff0e887c
commit ff8b229192
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
set -eu set -eu
export GOPATH="$(pwd):$(pwd)/vendor" export GOPATH="$(pwd):$(pwd)/vendor"
export PATH="$PATH:$(pwd)/vendor/bin:$(pwd)/bin" export PATH="$PATH:$(pwd)/bin"
echo "Checking that it builds" echo "Checking that it builds"
gb build gb build

View File

@ -14,7 +14,7 @@
set -eu set -eu
export GOPATH="$(pwd):$(pwd)/vendor" export GOPATH="$(pwd):$(pwd)/vendor"
export PATH="$PATH:$(pwd)/vendor/bin:$(pwd)/bin" export PATH="$PATH:$(pwd)/bin"
args="" args=""
if [ ${1:-""} = "fast" ] if [ ${1:-""} = "fast" ]

View File

@ -13,7 +13,7 @@ export GOGC=400
export DENDRITE_LINT_DISABLE_GC=1 export DENDRITE_LINT_DISABLE_GC=1
export GOPATH="$(pwd):$(pwd)/vendor" export GOPATH="$(pwd):$(pwd)/vendor"
export PATH="$PATH:$(pwd)/vendor/bin:$(pwd)/bin" export PATH="$PATH:$(pwd)/bin"
if [ "${TEST_SUITE:-lint}" == "lint" ]; then if [ "${TEST_SUITE:-lint}" == "lint" ]; then
./scripts/find-lint.sh ./scripts/find-lint.sh