Anton Kaliaev
2018-06-26 11:10:54 +04:00
parent 538c410bcd
commit 7f4498f8b1
3 changed files with 3 additions and 30 deletions

View File

@@ -1,14 +0,0 @@
#! /bin/bash
set +u
if [[ "$DEP" == "" ]]; then
DEP=$GOPATH/src/github.com/tendermint/tendermint/Gopkg.lock
fi
set -u
set -euo pipefail
LIB=$1
grep -A100 "$LIB" "$DEP" | grep revision | head -n1 | grep -o '"[^"]\+"' | cut -d '"' -f 2

View File

@@ -1,12 +0,0 @@
#! /bin/bash
# get the abci commit used by tendermint
COMMIT=$(bash scripts/dep_utils/parse.sh abci)
echo "Checking out vendored commit for abci: $COMMIT"
go get -d github.com/tendermint/tendermint/abci
cd "$GOPATH/src/github.com/tendermint/tendermint/abci" || exit
git checkout "$COMMIT"
make get_tools
make get_vendor_deps
make install