Skip to content

on-dev fix: never copy target/ back; ignore every target/ - #69

Open
ndbroadbent wants to merge 1 commit into
mainfrom
on-dev-fix-rsync
Open

ndbroadbent wants to merge 1 commit into
mainfrom
on-dev-fix-rsync

Conversation

@ndbroadbent

Copy link
Copy Markdown
Member

scripts/on-dev fix copies formatted sources back from the build machine. The rsync exclude for target came after --include='*/', and rsync uses the first rule that matches, so it copied the generated .rs files under target/ as well. The root .gitignore only ignored /target, not app/target, so the same mistake in a hand-written copy-back got build files committed in three app/ PRs (#57, #60, #63; cleaned up there).

This puts the exclude first, and .gitignore now ignores every target/.

…ame after the '*/' include, so rsync's first match copied target's generated .rs too); .gitignore ignores every target/, app/'s included
@visualci-com

visualci-com Bot commented Dec 2, 2026

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #234 · 331 unchanged · no changes

This PR vs base: nothing since #226, across 1 build

Updated as builds change. Agents can review with VisualCI's MCP tools.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant