test: always rebuild grpc_client

This commit is contained in:
Ethan Buchman 2017-01-12 18:45:41 -05:00
parent 7075a8ed81
commit 1afe0cb45f
1 changed files with 4 additions and 2 deletions

View File

@ -35,9 +35,11 @@ function sendTx() {
RESPONSE=`echo $RESPONSE | jq .result[1]` RESPONSE=`echo $RESPONSE | jq .result[1]`
else else
if [ ! -f grpc_client ]; then if [ -f grpc_client ]; then
go build -o grpc_client grpc_client.go rm grpc_client
fi fi
echo "... building grpc_client"
go build -o grpc_client grpc_client.go
RESPONSE=`./grpc_client $TX` RESPONSE=`./grpc_client $TX`
ERROR="" ERROR=""
fi fi