1
0
mirror of https://github.com/fluencelabs/tendermint synced 2025-06-22 01:11:32 +00:00
Files
.circleci
.github
DOCKER
benchmarks
blockchain
cmd
config
consensus
docs
evidence
lite
mempool
node
p2p
proxy
rpc
scripts
debora
dep_utils
parse.sh
txs
wal2json
README.md
dist.sh
install_abci_apps.sh
publish.sh
release.sh
wire2amino.go
state
test
types
version
.editorconfig
.gitignore
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Gopkg.lock
Gopkg.toml
LICENSE
Makefile
README.md
Vagrantfile
appveyor.yml
codecov.yml
tendermint/scripts/dep_utils/parse.sh

15 lines
240 B
Bash
Raw Normal View History

2018-02-27 17:20:56 +04:00
#! /bin/bash
2018-02-28 11:15:40 +04:00
set +u
if [[ "$DEP" == "" ]]; then
2018-02-28 12:24:26 +04:00
DEP=$GOPATH/src/github.com/tendermint/tendermint/Gopkg.lock
2018-02-28 11:15:40 +04:00
fi
set -u
2018-02-28 12:24:26 +04:00
2018-02-28 11:15:40 +04:00
set -euo pipefail
2018-02-27 17:20:56 +04:00
LIB=$1
2018-02-28 11:15:40 +04:00
grep -A100 "$LIB" "$DEP" | grep revision | head -n1 | grep -o '"[^"]\+"' | cut -d '"' -f 2