vm.sh sync: copy the tracked dist/.keep
Excluding all of dist/ (to keep the VM's build output from --delete) also skipped dist/.keep, so the VM's checkout looked dirty and build.sh would refuse to build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
784173c31a
commit
23f43f6b6c
1 changed files with 4 additions and 2 deletions
|
|
@ -141,8 +141,10 @@ stop()
|
|||
sync_deps()
|
||||
{
|
||||
running || die "not running"
|
||||
# owned by root in the VM: git refuses a repository owned by another user
|
||||
rsync -a --chown=0:0 --delete --exclude /dist/ --exclude /_build/ --exclude /_vendor/ --exclude /.claude/ \
|
||||
# owned by root in the VM: git refuses a repository owned by another user.
|
||||
# The VM's build output is kept; dist/.keep is tracked (build.sh's clean check).
|
||||
rsync -a --chown=0:0 --delete --include /dist/.keep --exclude '/dist/*' --exclude /_build/ \
|
||||
--exclude /_vendor/ --exclude /.claude/ \
|
||||
-e "ssh ${SSH_OPTS}" "${HERE}/" root@127.0.0.1:/usr/deps/
|
||||
echo ">>> synced ${HERE} to /usr/deps ($(git -C "${HERE}" describe --always --dirty))"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue