aboutsummaryrefslogtreecommitdiffstats
path: root/install_deps.sh
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-11-19 02:48:35 +0800
committerobscuren <geffobscura@gmail.com>2014-11-19 02:48:35 +0800
commit675ba4d7eb7ab96fa74b803085f042a25f8d8d42 (patch)
treecc8ee5c2cd3f80e943a336d9820539ea2ebce4d2 /install_deps.sh
parentf8d0cd9906a1ec4a4a1e95868a279312363f8b49 (diff)
parent5c958ec5f658709b648647449ce5349aa98b3d5d (diff)
downloaddexon-675ba4d7eb7ab96fa74b803085f042a25f8d8d42.tar.gz
dexon-675ba4d7eb7ab96fa74b803085f042a25f8d8d42.tar.zst
dexon-675ba4d7eb7ab96fa74b803085f042a25f8d8d42.zip
Merge branch 'tests' into poc8
Diffstat (limited to 'install_deps.sh')
-rwxr-xr-xinstall_deps.sh8
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