mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
feat: Create script to clone exercism repos
This commit is contained in:
parent
678845dfda
commit
6cadee31bf
1 changed files with 20 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Create directories if they don't exist
|
||||
mkdir -p tmp.benchmark/exercism
|
||||
|
||||
# Change to the exercism directory
|
||||
cd tmp.benchmark/exercism
|
||||
|
||||
# List of languages to clone
|
||||
languages=("cpp" "go" "java" "javascript" "python" "rust")
|
||||
|
||||
# Clone each repository
|
||||
for lang in "${languages[@]}"; do
|
||||
if [ ! -d "$lang" ]; then
|
||||
echo "Cloning $lang repository..."
|
||||
git clone "https://github.com/exercism/$lang"
|
||||
else
|
||||
echo "$lang repository already exists"
|
||||
fi
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue