wallet-core/contrib/copy-backoffice-into-prebuilt.sh
2023-04-24 11:57:20 -03:00

11 lines
389 B
Bash
Executable File

#!/bin/bash
[ ! -d prebuilt ] && echo 'directory "prebuilt" not found. first checkout the prebuilt branch into a prebuilt directory' && exit 1
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