diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/copy-auditor-backoffice-into-prebuilt.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/copy-auditor-backoffice-into-prebuilt.sh b/contrib/copy-auditor-backoffice-into-prebuilt.sh new file mode 100755 index 000000000..6b6544183 --- /dev/null +++ b/contrib/copy-auditor-backoffice-into-prebuilt.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +[ ! -d prebuilt ] && git worktree add -f prebuilt prebuilt && exit 1 + +find packages/auditor-backoffice-ui/dist/prod/ -type f -printf '%P\n' | sort > prebuilt/auditor-backoffice/bof + +while IFS= read -r file; do + cp packages/auditor-backoffice-ui/dist/prod/$file prebuilt/auditor-backoffice/$file +done < prebuilt/auditor-backoffice/bof + |