[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 04/04: add bill of materials to prebuilt
From: |
gnunet |
Subject: |
[taler-wallet-core] 04/04: add bill of materials to prebuilt |
Date: |
Mon, 24 Apr 2023 16:57:47 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
commit d61471544c6782615c2b9ce68eb8eec834ec6c90
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Apr 24 11:56:20 2023 -0300
add bill of materials to prebuilt
---
contrib/copy-backoffice-into-prebuilt.sh | 8 ++++++--
contrib/copy-demobank-into-prebuilt.sh | 8 +++++---
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/contrib/copy-backoffice-into-prebuilt.sh
b/contrib/copy-backoffice-into-prebuilt.sh
index 3150f20ba..aecebf01b 100755
--- a/contrib/copy-backoffice-into-prebuilt.sh
+++ b/contrib/copy-backoffice-into-prebuilt.sh
@@ -2,5 +2,9 @@
[ ! -d prebuilt ] && echo 'directory "prebuilt" not found. first checkout the
prebuilt branch into a prebuilt directory' && exit 1
-cp packages/merchant-backoffice-ui/dist/{index,material*,XRXV*}.*
prebuilt/backoffice/
-cp packages/merchant-backoffice-ui/dist/*.svg prebuilt/backoffice/
+find packages/merchant-backoffice-ui/dist/prod/ -type f -printf '%P\n' | sort
> prebuilt/backoffice/bof
+
+while IFS= read -r file; do
+ cp packages/merchant-backoffice-ui/dist/prod/$file prebuilt/backoffice/$file
+done < prebuilt/backoffice/bof
+
diff --git a/contrib/copy-demobank-into-prebuilt.sh
b/contrib/copy-demobank-into-prebuilt.sh
index 3fd4ec5c5..f5292a767 100755
--- a/contrib/copy-demobank-into-prebuilt.sh
+++ b/contrib/copy-demobank-into-prebuilt.sh
@@ -2,7 +2,9 @@
[ ! -d prebuilt ] && echo 'directory "prebuilt" not found. first checkout the
prebuilt branch into a prebuilt directory' && exit 1
-for file in index.html index.js index.css logo-white-U55BSKA2.svg; do
- cp packages/demobank-ui/dist/$file prebuilt/demobank/
-done
+find packages/demobank-ui/dist/prod/ -type f -printf '%P\n' | sort >
prebuilt/demobank/bof
+
+while IFS= read -r file; do
+ cp packages/demobank-ui/dist/prod/$file prebuilt/demobank/$file
+done < prebuilt/demobank/bof
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.