Skip to content

chore(examples): ignore generated screenshot artefacts#387

Merged
Faerkeren merged 1 commit into
mainfrom
chore/ignore-screenshot-artefacts
May 28, 2026
Merged

chore(examples): ignore generated screenshot artefacts#387
Faerkeren merged 1 commit into
mainfrom
chore/ignore-screenshot-artefacts

Conversation

@Faerkeren
Copy link
Copy Markdown
Contributor

The streamdeck demo writes per-key and per-card PNGs into examples/screenshots/ whenever the "Screenshot" scene is activated. Those files are runtime artefacts and should not be tracked.

Adds a folder-local .gitignore that ignores everything in the directory except itself and the existing .gitkeep, so the folder stays present in the repo (so the demo can write into it without an mkdir) while the generated PNGs are filtered out of git status.

Verification

$ git check-ignore -v examples/screenshots/key_0.png
examples/screenshots/.gitignore:2:*	examples/screenshots/key_0.png

No code or test changes — pure repo hygiene.

The streamdeck demo writes per-key and per-card PNGs into
`examples/screenshots/` whenever the "Screenshot" scene is activated.
Those files are runtime artefacts and should not be tracked.

Add a folder-local `.gitignore` that ignores everything in the
directory except itself and the existing `.gitkeep`, so the folder
stays present in the repo (so the demo can write into it without an
`mkdir`) while the generated PNGs are filtered out of `git status`.
@Faerkeren Faerkeren merged commit c37b7b2 into main May 28, 2026
16 checks passed
@Faerkeren Faerkeren deleted the chore/ignore-screenshot-artefacts branch May 28, 2026 12:53
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