提交 ff8b2291 编写于 作者: E Erik Johnston 提交者: Richard van der Hoff

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.
上级 8fff0e88
......@@ -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
......
......@@ -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" ]
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册