aboutsummaryrefslogtreecommitdiff
path: root/contrib/copy-backoffice-into-prebuilt.sh
blob: d21b91096d2cb91df6840e136d19b941382d123e (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

[ ! -d prebuilt ] && git worktree add -f prebuilt prebuilt && 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