taler-deployment

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

commit 2d75822e20f52dcefa7919a116ee94452883ae2b
parent a569de83adeddd83825c6409ff8f29017214606a
Author: Florian Dold <florian.dold@gmail.com>
Date:   Mon, 29 Feb 2016 14:35:44 +0100

inline build for merchant/mint

Diffstat:
Dbuild_merchant.sh | 14--------------
Dbuild_mint.sh | 15---------------
Mupdate_merchant.sh | 19++++++++++++++++++-
Mupdate_mint.sh | 19++++++++++++++++++-
4 files changed, 36 insertions(+), 31 deletions(-)

diff --git a/build_merchant.sh b/build_merchant.sh @@ -1,14 +0,0 @@ -#!/bin/bash - -set -eu - -cd $HOME/merchant -make clean || true -./bootstrap -./configure CFLAGS='-ggdb -O0' \ - --prefix=$HOME/local --with-gnunet=$HOME/local \ - --with-mint=$HOME/local \ - --with-microhttpd=$HOME/local \ - --enable-logging=verbose -make -make install diff --git a/build_mint.sh b/build_mint.sh @@ -1,15 +0,0 @@ -#!/bin/bash - -set -eu - -cd $HOME/mint -make clean || true -./bootstrap -./configure CFLAGS='-ggdb -O0' \ - --with-libgnurl=$HOME/local \ - --with-microhttpd=$HOME/local \ - --prefix=$HOME/local --with-gnunet=$HOME/local \ - --enable-logging=verbose -make -make install - diff --git a/update_merchant.sh b/update_merchant.sh @@ -3,9 +3,26 @@ export GNUNET_BASE_CONFIG=$HOME/deployment/taler-arm export PATH="$HOME/local/bin":$PATH +build_merchant() { + ( + set -eu + + cd $HOME/merchant + make clean || true + ./bootstrap + ./configure CFLAGS='-ggdb -O0' \ + --prefix=$HOME/local --with-gnunet=$HOME/local \ + --with-mint=$HOME/local \ + --with-microhttpd=$HOME/local \ + --enable-logging=verbose + make + make install + ) +} + cd $HOME/merchant/ && \ git pull && \ cd $HOME/deployment && \ - ./build_merchant.sh && \ + build_merchant && \ gnunet-arm -k taler-merchant gnunet-arm -i taler-merchant diff --git a/update_mint.sh b/update_mint.sh @@ -3,9 +3,26 @@ export GNUNET_BASE_CONFIG=$HOME/deployment/taler-arm export PATH="$HOME/local/bin":$PATH +build_mint() { + ( + set -eu + + cd $HOME/mint + make clean || true + ./bootstrap + ./configure CFLAGS='-ggdb -O0' \ + --with-libgnurl=$HOME/local \ + --with-microhttpd=$HOME/local \ + --prefix=$HOME/local --with-gnunet=$HOME/local \ + --enable-logging=verbose + make + make install + ) +} + cd $HOME/mint && \ git pull && \ cd $HOME/deployment && \ - ./build_mint.sh && \ + build_mint && \ gnunet-arm -k taler-mint gnunet-arm -i taler-mint