Add a script to rsync a minimal Ren'Py over to a computer.

This is mostly used for testing on my chromebook, but might be
good in other places.
This commit is contained in:
Tom Rothamel
2022-05-27 21:44:32 -04:00
parent 0077e555f9
commit 0a4bb0af8b
+29
View File
@@ -0,0 +1,29 @@
#!/bin/bash
set -e
default="tom@192.168.1.2:/home/tom/ab/renpy"
source=${1:-$default}
if [ -e .git ]; then
echo "The .git directory is present, not updating."
exit 1
fi
sync () {
echo "Synchronize $1"
rsync -a "$source/$1" .
}
sync gui
sync launcher
sync lib
sync renpy
sync renpy2.sh
sync renpy3.sh
sync renpy.py
sync scripts
sync the_question
sync sdk-fonts
sync tutorial
sync typings