taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 3b7dada3fa4a773680afc5fce28decf7be657444
parent f8cf120c9bd7c23e5fd382ab042ad9755f47a49b
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Fri,  2 Mar 2018 15:15:53 +0100

twister updater script

Diffstat:
Ataler-build/update_twister.sh | 24++++++++++++++++++++++++
1 file changed, 24 insertions(+), 0 deletions(-)

diff --git a/taler-build/update_twister.sh b/taler-build/update_twister.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +# Run as: +# $ ./update_twister.sh +set -eu + +cd $HOME/twister/ +git clean -fdx + +git fetch +# reset to updated upstream branch, but only if we're tracking a branch +branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo HEAD) +git reset --hard "$branch" + +git submodule update --init --force + +./bootstrap +./configure CFLAGS='-ggdb -O0' \ + --prefix=$HOME/local \ + --with-gnunet=$HOME/local \ + --with-exchange=$HOME/local \ + --enable-logging=verbose +make +make install