go get dependencies on executable

This commit is contained in:
Eric Robitaille 2014-11-21 08:05:52 -05:00
parent 6c098ee779
commit eba3fca7bc
1 changed files with 8 additions and 0 deletions

View File

@ -28,6 +28,14 @@ echo "changing branch to $branch"
cd $GOPATH/src/github.com/ethereum/go-ethereum
git checkout $branch
echo "go get -u -d github.com/ethereum/go-ethereum/$path"
go get -v -u -d github.com/ethereum/go-ethereum/$path
if [ $? != 0 ]; then
echo "go get failed"
exit
fi
cd $GOPATH/src/github.com/ethereum/go-ethereum/$path
if [ "$exe" == "mist" ]; then