extra checks, add to build system

This commit is contained in:
Christian Grothoff 2020-02-04 22:37:49 +01:00
parent 2590db50d5
commit b332604325
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 8 additions and 1 deletions

View File

@ -1,7 +1,8 @@
SUBDIRS = . tos pp SUBDIRS = . tos pp
bin_SCRIPTS = \ bin_SCRIPTS = \
taler-bank-manage-testing taler-bank-manage-testing \
taler-exchange-revoke
EXTRA_DIST = \ EXTRA_DIST = \
$(bin_SCRIPTS) \ $(bin_SCRIPTS) \

View File

@ -10,6 +10,12 @@
set -eu set -eu
if [ "$#" -ne 3 ];
then
echo "illegal number of parameters"
exit 1
fi
# Ensure starting accounts exist # Ensure starting accounts exist
taler-bank-manage -c $1 --with-db $2 django provide_accounts taler-bank-manage -c $1 --with-db $2 django provide_accounts
taler-bank-manage -c $1 --with-db $2 django add_bank_account 42 taler-bank-manage -c $1 --with-db $2 django add_bank_account 42