taler-rust

GNU Taler code in Rust. Largely core banking integrations.
Log | Files | Refs | Submodules | README | LICENSE

bootstrap (588B)


      1 #!/bin/sh
      2 
      3 # Bootstrap the repository.  Used when the repository is checked out from git.
      4 # When using the source tarball, running this script is not necessary.
      5 
      6 set -eu
      7 
      8 if ! git --version >/dev/null; then
      9   echo "git not installed"
     10   exit 1
     11 fi
     12 
     13 if ! python3 --version >/dev/null; then
     14   echo "python3 not installed"
     15   exit 1
     16 fi
     17 
     18 # Make sure that "git pull" et al. also update
     19 # submodules to avoid accidental rollbacks.
     20 git config --local submodule.recurse true
     21 
     22 git submodule sync
     23 git submodule update --init
     24 rm -f ./configure
     25 cp build-system/taler-build-scripts/configure ./configure