summaryrefslogtreecommitdiff
path: root/taler-build/update_exchange.sh
blob: b9c48b9880db71ea86b1913e60fe309fb3a978a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

set -eu

cd $HOME/exchange
git clean -fdx

# like "git pull", but robust against force pushes
# and local changes
git fetch
git reset --hard FETCH_HEAD

./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
TALER_EXCHANGEDB_POSTGRES_CONFIG=$TALER_CHECKDB TALER_AUDITORDB_POSTGRES_CONFIG=$TALER_CHECKDB make check