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

set -eu

cd $HOME/merchant/
git clean -fdx

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

git submodule update --init

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