mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-06 21:36:26 +00:00
ditch glide
This commit is contained in:
@@ -1,25 +1,20 @@
|
||||
#! /bin/bash
|
||||
set -e
|
||||
|
||||
# set glide.lock path
|
||||
if [[ "$GLIDE" == "" ]]; then
|
||||
GLIDE=$GOPATH/src/github.com/tendermint/tendermint/glide.lock
|
||||
fi
|
||||
|
||||
# get vendored commit for given lib
|
||||
# Get the parent directory of where this script is.
|
||||
SOURCE="${BASH_SOURCE[0]}"
|
||||
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
|
||||
DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
|
||||
|
||||
####################
|
||||
# libs we depend on
|
||||
####################
|
||||
|
||||
# All libs should define `make test` and `make get_vendor_deps`
|
||||
LIBS_TEST=(tmlibs go-wire go-crypto abci)
|
||||
|
||||
DIR=$(pwd)
|
||||
for lib in "${LIBS_MAKE_TEST[@]}"; do
|
||||
|
||||
LIBS=(tmlibs go-wire go-crypto abci)
|
||||
for lib in "${LIBS[@]}"; do
|
||||
# checkout vendored version of lib
|
||||
bash scripts/glide/checkout.sh "$GLIDE" "$lib"
|
||||
bash scripts/dep_utils/checkout.sh "$lib"
|
||||
|
||||
echo "Testing $lib ..."
|
||||
cd "$GOPATH/src/github.com/tendermint/$lib"
|
||||
|
||||
Reference in New Issue
Block a user