0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 06:33:50 +01:00

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.
This commit is contained in:
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
export GOPATH="$(pwd):$(pwd)/vendor"
export PATH="$PATH:$(pwd)/vendor/bin:$(pwd)/bin"
export PATH="$PATH:$(pwd)/bin"
echo "Checking that it builds"
gb build

View file

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

View file

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