From 835ce5c12a182bff4c06d1b8d53507ec40078cd0 Mon Sep 17 00:00:00 2001 From: YouROK <8yourok8@mail.ru> Date: Thu, 19 Nov 2020 10:27:34 +0300 Subject: [PATCH] change build scripts --- build-all.sh | 16 ---------------- deps.sh | 3 ++- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/build-all.sh b/build-all.sh index 6b245b4..187c8e9 100755 --- a/build-all.sh +++ b/build-all.sh @@ -25,22 +25,6 @@ type setopt >/dev/null 2>&1 export GOPATH="${PWD}" GOBIN="/usr/local/go/bin/go" -[ -d src/github.com/alexflint/go-arg ] && go get -v github.com/alexflint/go-arg - -[ -d src/github.com/anacrolix/dht ] && go get -v github.com/anacrolix/dht -[ -d src/github.com/anacrolix/missinggo/httptoo ] && go get -v github.com/anacrolix/missinggo/httptoo -[ -d src/github.com/anacrolix/torrent ] && go get -v github.com/anacrolix/torrent -[ -d src/github.com/anacrolix/torrent/iplist ] && go get -v github.com/anacrolix/torrent/iplist -[ -d src/github.com/anacrolix/torrent/metainfo ] && go get -v github.com/anacrolix/torrent/metainfo -[ -d src/github.com/anacrolix/utp ] && go get -v github.com/anacrolix/utp - -[ -d src/github.com/gin-gonic/gin ] && go get -u github.com/gin-gonic/gin - -[ -d src/github.com/pion/webrtc/v2 ] && go get -v github.com/pion/webrtc/v2 -[ -d src/go.etcd.io/bbolt ] && go get -v go.etcd.io/bbolt - -ln -s . src/github.com/pion/webrtc/v2 - $GOBIN version SCRIPT_NAME=$(basename "$0") diff --git a/deps.sh b/deps.sh index 331dc0d..a03a694 100755 --- a/deps.sh +++ b/deps.sh @@ -13,4 +13,5 @@ go get -u github.com/gin-gonic/gin go get -v github.com/pion/webrtc/v2 go get -v go.etcd.io/bbolt -ln -s . src/github.com/pion/webrtc/v2 \ No newline at end of file +ln -s . src/github.com/pion/webrtc/v2 +go get -v github.com/pion/webrtc/v2 \ No newline at end of file