wallet-core/contrib/copy-demobank-into-prebuilt.sh
2023-09-14 12:16:48 -03:00

11 lines
299 B
Bash
Executable File

#!/bin/bash
[ ! -d prebuilt ] && git worktree add -f prebuilt prebuilt && exit 1
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