wallet-core/contrib/copy-backoffice-into-prebuilt.sh

11 lines
389 B
Bash
Raw Normal View History

2023-01-23 19:12:48 +01:00
#!/bin/bash
2023-02-24 00:06:14 +01:00
[ ! -d prebuilt ] && echo 'directory "prebuilt" not found. first checkout the prebuilt branch into a prebuilt directory' && exit 1
2023-04-24 16:56:20 +02:00
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