summaryrefslogtreecommitdiff
path: root/update_exchange.sh
blob: ace246815c7dcf2d4e637639e0ceab9af5eb217d (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
26
27
#!/bin/bash

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

build_exchange() {
  (
    set -eu

    cd $HOME/exchange
    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/exchange && \
  git pull && \
  cd $HOME/deployment && \
  build_exchange && \
  arm.sh -k taler-exchange
arm.sh -i taler-exchange