• src/doors/syncscumm/build.bat

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thursday, October 29, 2026 22:22:33
    https://gitlab.synchro.net/main/sbbs/-/commit/daeb0358b9703ef6aa87abd8
    Modified Files:
    src/doors/syncscumm/build.bat
    Log Message:
    syncscumm: drop the backend junction on every build.bat exit

    build.bat replaces the tracked backends/platform/termgfx symlink with a junction to door\ and used to leave it in place. The next CI checkout in
    that runner slot replaces the junction with the symlink file again and, on
    the way, deletes door\'s files through it -- without restoring them in the
    same pass. Usually a different job absorbed that and the following
    checkout put the files back, but on 2026-10-29 two windows-x86 [syncscumm]
    jobs ran back to back in VERT's slot 0, and job 1832617 found door\ empty: "door does not appear to contain CMakeLists.txt".

    - Call :drop_junction on success and on the :error path, so no junction
    survives into the next checkout.
    - :drop_junction tests the junction as a directory rather than via
    module.mk, so a junction to an emptied door\ is still removed.
    - Step 1 removes a stale junction with rmdir: del /Q on a junction
    deletes the files in its target.
    - Step 1 restores any door\ file git reports deleted, covering stale
    junctions already left in other runner slots. Only deleted files are
    checked out, so local edits are kept.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net