Files
FWS-Kitty/rsync-and-build.sh
T
BlackAngelTV 7e7d249099 chore: import official kitty sources from upstream
Bring the kovidgoyal/kitty codebase in as the base of FWS-Kitty,
vendored at upstream commit 91fb38a without its git history.
2026-11-04 11:20:47 +01:00

19 lines
856 B
Bash

#!/bin/sh
# To be used via a script such as
: <<'COMMENT'
export RSYNC_PASSWORD=password
export BUILDBOT=rsync://useranme@server/path/to/this/directory
mkdir -p ~/kitty-src
cd ~/kitty-src || exit 1
script=rsync-and-build.sh
if [[ -e "$script" ]]; then
. "./$script"
else
rsync -a --include "$script" --exclude '*' "$BUILDBOT" . && source "$script"
fi
COMMENT
rsync --info=progress2 -a -zz --delete --force --exclude /bypy/b --exclude '*_generated.*' --exclude '*_generated_test.*' --exclude '/docs/_build' --exclude '/.cache' --exclude '/.ruff_cache' --exclude '/dependencies' --exclude '/tags' --exclude '__pycache__' --exclude '/kitty/launcher/kitt*' --exclude '/build' --exclude '/dist' --exclude '/shaders' --exclude '*.swp' --exclude '*.swo' --exclude '*.so' --exclude '*.dylib' --exclude '*.dSYM' "$BUILDBOT" . && exec ./dev.sh build "$@"