libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 297a63447caa3f27a8a0d2e97f7d4f507670f8e7
parent 981392149cbfd6a454182e2be1d296629a9879f6
Author: MS <ms@taler.net>
Date:   Tue, 14 Mar 2023 18:05:24 +0100

renaming Makefile target

Diffstat:
MMakefile | 6+++---
Acontrib/copy_spa.sh | 12++++++++++++
Dcontrib/get_spa.sh | 21---------------------
3 files changed, 15 insertions(+), 24 deletions(-)

diff --git a/Makefile b/Makefile @@ -27,12 +27,12 @@ exec-arch: clean-spa: @rm -fr debian/usr/share/libeufin/demobank-ui/index.* debian/usr/share/libeufin/demobank-ui/*.svg -.PHONY: get-spa +.PHONY: copy-spa get-spa: - @./contrib/get_spa.sh + @./contrib/copy_spa.sh .PHONY: deb -deb: exec-arch get-spa +deb: exec-arch copy-spa @dpkg-buildpackage -rfakeroot -b -uc -us diff --git a/contrib/copy_spa.sh b/contrib/copy_spa.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# This script is in the public domain. It copies +# SPA from where the bootstrap script places it to +# the debian directory. + +if ! test -d .git; then + echo Run this script from the repository top-level directory. + exit 1 +fi + +cp contrib/wallet-core/demobank/* debian/usr/share/libeufin/demobank-ui/ diff --git a/contrib/get_spa.sh b/contrib/get_spa.sh @@ -1,21 +0,0 @@ -#!/bin/bash - -# This script is in the public domain. To be -# invoked by "make dl-spa". - -if ! test -d .git; then - echo Make sure that CWD is the repository top-level dir. - exit 1 -fi - -if ls debian/usr/share/libeufin/demobank-ui/index.{html,css,js} &> /dev/null; then - echo SPA download already, run 'make clean-spa' to remove it. - exit 0 -fi - -if ! wget --version &> /dev/null; then - echo wget not found, aborting. - exit 1 -fi - -cp contrib/wallet-core/demobank/* debian/usr/share/libeufin/demobank-ui/