mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
refactor: Rename benchmark dir, improve rsync, fix problem stats
This commit is contained in:
parent
a75507980a
commit
4efdc8b4f7
4 changed files with 18 additions and 17 deletions
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo "Usage: $0 user@host"
|
||||
exit 1
|
||||
|
@ -19,10 +21,13 @@ ssh "$DEST" "mkdir -p ~/aider"
|
|||
|
||||
# Sync the repository
|
||||
rsync -avz --delete \
|
||||
--exclude='.git/' \
|
||||
--exclude-from="$EXCLUDE_FILE" \
|
||||
"$REPO_ROOT/" \
|
||||
"$DEST:~/aider/"
|
||||
|
||||
rsync -a .env .bash_history .gitignore "$DEST:~/aider/."
|
||||
|
||||
rsync -a ~/dotfiles/screenrc "$DEST:.screenrc"
|
||||
|
||||
# Clean up
|
||||
rm "$EXCLUDE_FILE"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue