mirror of
https://github.com/matrix-org/dendrite
synced 2024-11-20 16:42:05 +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:
parent
8fff0e887c
commit
ff8b229192
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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" ]
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue