mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-18 21:26:20 +00:00
cd into tendermint before calling dep status
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
set -u
|
||||
|
||||
function getVendoredVersion() {
|
||||
cd "$GOPATH/src/github.com/tendermint/tendermint" || exit
|
||||
dep status | grep "$1" | awk '{print $4}'
|
||||
cd - || exit
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#! /bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
cd "$GOPATH/github.com/tendermint/tendermint" || exit
|
||||
|
||||
LIB=$1
|
||||
|
||||
dep status | grep "$LIB" | awk '{print $4}'
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
#! /bin/bash
|
||||
|
||||
go get -d github.com/tendermint/abci
|
||||
|
||||
# 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/abci
|
||||
cd "$GOPATH/src/github.com/tendermint/abci" || exit
|
||||
git checkout "$COMMIT"
|
||||
make get_tools
|
||||
make get_vendor_deps
|
||||
make install
|
||||
|
||||
Reference in New Issue
Block a user