plugeth/install_deps.sh

9 lines
243 B
Bash
Raw Normal View History

#!/bin/bash
set -e
2014-11-16 01:11:43 +00:00
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