summaryrefslogtreecommitdiff
path: root/bin/taler-deployment-build
blob: ef224920b37075cb440d6d2aa9ffdfbd133ac3d9 (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
28
#!/bin/bash

# Invocation
# $ taler-deployment-build [--coverage]

set -eu

if ! test $HOME/activate; then
  echo "$HOME/activate not found.  Although the compilation
       is not affected, testcases will fail because the database
       cannot be launched"
  exit
fi

source $HOME/activate

cd $HOME/stamps
./invalidate.sh

export GNUNET_FORCE_LOG="util;;;;WARNING/taler;;;;DEBUG/twister;;;;DEBUG/test;;;;DEBUG"

if test ${1:-notgiven} = "--coverage"; then
  make lcov
else
  # NOTE: when deployment.git changes, the 'make' command
  # below will start on the OLD Makefile anyway!
  make
fi