Skip to content

Commit

Permalink
Run vendored dep using bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
ixdy committed Jan 26, 2018
1 parent 01fa5e6 commit 64d6866
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions hack/update-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ set -o errexit
set -o pipefail
set -o xtrace

TESTINFRA_ROOT=$(git rev-parse --show-toplevel)
cd "${TESTINFRA_ROOT}"

trap 'echo "FAILED" >&2' ERR
pushd "$(dirname "${BASH_SOURCE}")/.."
dep ensure -v
bazel run --run_under="cd ${TESTINFRA_ROOT} &&" \
//vendor/github.com/golang/dep/cmd/dep -- ensure -v
# dep itself has a problematic testdata directory with infinite symlinks which
# makes bazel sad: https://github.com/golang/dep/pull/1412
# dep should probably be removing it, but it doesn't:
Expand Down

0 comments on commit 64d6866

Please sign in to comment.