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

export PATH="$HOME/deployment":$PATH

build_exchange() {
  (
    set -eu

    cd $HOME/exchange
    git clean -fdx
    ./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/exchange && \
  git pull && \
  cd $HOME/deployment && \
  build_exchange