add clone_all.sh
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Vivian 2022-11-29 22:27:37 +01:00
parent 9a63f86856
commit cbef229bbe
2 changed files with 13 additions and 0 deletions

1
scripts/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
student_solutions/

12
scripts/clone_all.sh Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -xe
groups=$(cargo run -- projects 20197)
branch="2-performance"
mkdir -p student_solutions
cd student_solutions
while read -ra arr; do
git clone --branch $branch "${arr[1]}"
done <<<"$groups"