aboutsummaryrefslogtreecommitdiffstats
path: root/install_deps.sh
blob: 73a31332448304ec124f3a4c9d2f3e28eec61077 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/bash

set -e

TEST_DEPS=$(go list -f '{{.Imports}} {{.TestImports}} {{.XTestImports}}' github.com/ethereum/go-ethereum/... | sed -e 's/\[//g' | sed -e 's/\]//g' | sed -e 's/C //g')
if [ "$TEST_DEPS" ]; then
  go get -race $TEST_DEPS
fi