فهرست منبع

go get dependencies on executable

Eric Robitaille 11 سال پیش
والد
کامیت
eba3fca7bc
1فایلهای تغییر یافته به همراه8 افزوده شده و 0 حذف شده
  1. 8 0
      install.sh

+ 8 - 0
install.sh

@@ -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