taler-deployment

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

commit 063634759824920aedab945f860a28e0d41bdceb
parent be55a77adae9a13bb5db4f0e741fe9950cf686ce
Author: Florian Dold <florian.dold@gmail.com>
Date:   Tue, 26 Apr 2016 00:45:22 +0200

build

Diffstat:
Mtaler-build/Makefile | 6+++++-
Mtaler-build/invalidate.sh | 23++++++++++++++---------
2 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/taler-build/Makefile b/taler-build/Makefile @@ -1,9 +1,13 @@ -all: exchange-stamp bank-stamp merchant-stamp gnunet-stamp merchant-frontends-stamp +all: exchange-stamp bank-stamp merchant-stamp gnunet-stamp merchant-frontends-stamp landing-stamp exchange-stamp: gnunet-stamp ./update_exchange.sh touch $@ +landing-stamp: + ./update_landing.sh + touch $@ + gnunet-stamp: libmicrohttpd-stamp libgnurl-stamp ./update_gnunet.sh touch $@ diff --git a/taler-build/invalidate.sh b/taler-build/invalidate.sh @@ -6,20 +6,25 @@ # since there all the information is already # available. +set -eu + base=${TALER_DEPLOYMENT_BASE:-$HOME} -for component in exchange merchant bank; - do +for component in exchange merchant bank gnurl merchant-frontends landing; do cd $base/$component git fetch if git status -sb | grep behind; then + echo "invalidating $component" rm -f $base/deployment/taler-build/$component-stamp fi - done +done -cd $base/gnunet -svnHead=$(svn info -r HEAD | awk '/^Revision/ {print $2}') -svnBase=$(svn info -r BASE | awk '/^Revision/ {print $2}') -if test $svnHead != $svnBase; then - rm -f $base/deployment/taler-build/gnunet-stamp -fi +for component in gnunet libmicrohttpd; do + cd $base/$component + svnHead=$(svn info -r HEAD | awk '/^Revision/ {print $2}') + svnBase=$(svn info -r BASE | awk '/^Revision/ {print $2}') + if test $svnHead != $svnBase; then + echo "invalidating $component" + rm -f $base/deployment/taler-build/$component-stamp + fi +done