taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

exchange-build.sh (448B)


      1 #!/bin/sh
      2 # This file is in the public domain.
      3 # Helper script to build the latest DEB packages in the container.
      4 
      5 set -eu
      6 unset LD_LIBRARY_PATH
      7 mkdir -p /build/taler
      8 cd /build/taler
      9 
     10 export CC=gcc-12
     11 # Fetch source
     12 rm -rf *
     13 
     14 pip3 install --break-system-packages htmlark
     15 
     16 git clone git://git.taler.net/exchange
     17 cd exchange
     18 git checkout $1
     19 ./bootstrap
     20 dpkg-buildpackage -rfakeroot -b -uc -us
     21 cd ..
     22 dpkg -i *.deb
     23 
     24 tar uvf ../packages.tgz *.deb
     25 cd ..