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

[ ! -d prebuilt ] && git worktree add -f prebuilt prebuilt && exit 1

rm -f prebuilt/challenger/*
find packages/challenger-ui/dist/prod/ -type f -printf '%P\n' | sort > prebuilt/challenger/bof

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