Include wrapper script as comment
This commit is contained in:
parent
2fcefbaa0e
commit
c34399e051
1 changed files with 14 additions and 5 deletions
|
|
@ -1,8 +1,17 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
|
||||||
# rsync-and-build.sh
|
# To be used via a script such as
|
||||||
# Copyright (C) 2025 Kovid Goyal <kovid at kovidgoyal.net>
|
: <<'COMMENT'
|
||||||
#
|
export RSYNC_PASSWORD=password
|
||||||
# Distributed under terms of the MIT license.
|
export BUILDBOT=rsync://useranme@server/path/to/this/directory
|
||||||
|
cd ~/kitty-src || exit 1
|
||||||
|
|
||||||
|
script=rsync-and-build.sh
|
||||||
|
if [[ -e "$script" ]]; then
|
||||||
|
source "$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' --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 "$@"
|
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 "$@"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue