diff options
author | Sebastian <sebasjm@gmail.com> | 2024-03-08 14:09:31 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-03-08 14:09:31 -0300 |
commit | ddd32a690bd13b1eb1aef1356a1d59fd64e254bf (patch) | |
tree | 44126872f6e8195a3617e2002c696c0afa13fb0d /contrib/copy-bank-into-prebuilt.sh | |
parent | e0e82cdf07930d766081e42203c5a4e66d43191f (diff) | |
download | wallet-core-ddd32a690bd13b1eb1aef1356a1d59fd64e254bf.tar.gz wallet-core-ddd32a690bd13b1eb1aef1356a1d59fd64e254bf.tar.bz2 wallet-core-ddd32a690bd13b1eb1aef1356a1d59fd64e254bf.zip |
demobank => bank
Diffstat (limited to 'contrib/copy-bank-into-prebuilt.sh')
-rwxr-xr-x | contrib/copy-bank-into-prebuilt.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/copy-bank-into-prebuilt.sh b/contrib/copy-bank-into-prebuilt.sh new file mode 100755 index 000000000..5ad375767 --- /dev/null +++ b/contrib/copy-bank-into-prebuilt.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +[ ! -d prebuilt ] && git worktree add -f prebuilt prebuilt && exit 1 + +find packages/bank-ui/dist/prod/ -type f -printf '%P\n' | sort > prebuilt/bank/bof + +while IFS= read -r file; do + cp packages/bank-ui/dist/prod/$file prebuilt/bank/$file +done < prebuilt/bank/bof + |