commit 1f483af4ae575075fb7a1c65f92a8b60025500bd parent add61dc7c36a7fec7815ac3bd82b99beb5bc06f6 Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Mon, 10 Jun 2019 20:56:16 +0200 Automating the doc-builder Diffstat:
| A | bootstrap-docbuilder | | | 30 | ++++++++++++++++++++++++++++++ |
1 file changed, 30 insertions(+), 0 deletions(-)
diff --git a/bootstrap-docbuilder b/bootstrap-docbuilder @@ -0,0 +1,30 @@ +#!/bin/bash + +# Bootstrap the Taler setup for the user account that +# is currently logged in. + +# Generates a setup for a single user, +# including a postgresql DB. + +set -eu + +BRANCH=master +REPOS="bank merchant exchange deployment backoffice api merchant-frontend-examples" + +cd $HOME + +for component in $REPOS; do + if ! test -d $HOME/$component; then + git clone git://git.taler.net/$component.git + fi +done + +for component in $REPOS; do + echo "Checking out $component to $BRANCH" + git -C $HOME/$component checkout $BRANCH +done + +mkdir stamps + +ln -sf ../deployment/taler-docbuild/Makefile stamps/ +ln -sf ../deployment/taler-docbuild/invalidate.sh stamps/