diff options
Diffstat (limited to 'install_deps.sh')
-rwxr-xr-x | install_deps.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/install_deps.sh b/install_deps.sh new file mode 100755 index 000000000..73a313324 --- /dev/null +++ b/install_deps.sh @@ -0,0 +1,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 |