Centralize maintenance of rsync script

This commit is contained in:
Kovid Goyal
2025-04-25 15:38:57 +05:30
parent 4631348016
commit 2fcefbaa0e
2 changed files with 10 additions and 5 deletions

8
rsync-and-build.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
#
# rsync-and-build.sh
# Copyright (C) 2025 Kovid Goyal <kovid at kovidgoyal.net>
#
# Distributed under terms of the MIT license.
rsync --info=progress2 -a -zz --delete --force --exclude /bypy/b --exclude '*_generated.*' --exclude '*_generated_test.*' --exclude '/docs/_build' --include '/.github' --exclude '/.*' --exclude '/dependencies' --exclude '/tags' --exclude '__pycache__' --exclude '/kitty/launcher/kitt*' --exclude '/build' --exclude '/dist' --exclude '*.swp' --exclude '*.swo' --exclude '*.so' --exclude '*.dylib' --exclude '*.dSYM' "$BUILDBOT" . && exec ./dev.sh build "$@"