diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-04-26 00:45:22 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-04-26 00:45:22 +0200 |
commit | 063634759824920aedab945f860a28e0d41bdceb (patch) | |
tree | 3412cce06f386376bb2bf0faa3367566558871f4 /taler-build | |
parent | be55a77adae9a13bb5db4f0e741fe9950cf686ce (diff) | |
download | deployment-063634759824920aedab945f860a28e0d41bdceb.tar.gz deployment-063634759824920aedab945f860a28e0d41bdceb.tar.bz2 deployment-063634759824920aedab945f860a28e0d41bdceb.zip |
build
Diffstat (limited to 'taler-build')
-rw-r--r-- | taler-build/Makefile | 6 | ||||
-rwxr-xr-x | taler-build/invalidate.sh | 23 |
2 files changed, 19 insertions, 10 deletions
diff --git a/taler-build/Makefile b/taler-build/Makefile index de8aaee..0b4f17c 100644 --- 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 index db5ae13..13c8c8e 100755 --- 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 |