summaryrefslogtreecommitdiff
path: root/taler-build/update_merchant.sh
blob: 1b9fbf0731b77f609b5391e63dff55d92510586f (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
make check