aboutsummaryrefslogtreecommitdiff
path: root/contrib/copy-challenger-into-prebuilt.sh
blob: ebc39192c25eaa3721705e9e7ca8424e5f0e3866 (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/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