aboutsummaryrefslogtreecommitdiff
path: root/contrib/copy-anastasis-into-prebuilt.sh
blob: 36335bfcf36704af2cf6e7a9f2d716ec6eda6604 (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/anastasis-webui/dist/prod/ -type f -printf '%P\n' | sort > prebuilt/anastasis/bof

while IFS= read -r file; do
  cp packages/anastasis-webui/dist/prod/$file prebuilt/anastasis/$file
done < prebuilt/anastasis/bof