Repo hygiene: add .editorconfig, keep artifacts out of root, fix .gitignore #39
Labels
No labels
area:ci
area:docs
area:input
area:net
area:rendering
area:repo
area:stdlib
area:tooling
area:types
cleanup
dx
priority:high
priority:low
priority:medium
proposal
status:in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: workshopsoft/ludic#39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
A few small repo-hygiene gaps add friction and inconsistency:
.editorconfig— indentation/charset/newline conventions aren'tmachine-enforced, so editors drift (matters for a project that ships its own
formatter and cares about byte-identical output).
out.ppminto theworking directory (tracked separately in the assets issue); the root should stay
clean.
.gitignoreinconsistency —**.zipis ignored yet the Kenney zips aretracked (see assets issue); the ruleset should be internally consistent.
build/at the root holds generated.ll/objects during development; makesure everything generated is under
build/and ignored, and nothing generatedescapes it.
Proposal
.editorconfigmatching the project's Ludic style (indent width, LF,UTF-8, trailing-newline, trim trailing whitespace).
build/(orbin/) and is ignored; keep the repo root free of artifacts..gitignoreso ignored patterns and tracked files don't contradict.bin/x cleanthat wipes generated output predictably.Acceptance criteria
.editorconfigpresent and consistent withludic-fmt.build//bin/..gitignoreis internally consistent with what's tracked.Found during the repository-cleanup / DX pass.
Done in
1c9235a..editorconfigmirroring ludic-fmt (2-space, LF, UTF-8, trim trailing whitespace + final newline; 4-space for Python tooling; Markdown keeps trailing whitespace for hard line breaks)..gitignore: root-anchored/build/and/out.ppm, normalised the misleading**.zipglob to*.zip, and documented that the Kenney art is tracked extracted while the download/plugin zips are local-only (no zip is tracked, so this is now internally consistent)..idea->.idea/.bin/x cleanto sweepbuild/, the rootout.ppm, and straybin/*.tmp, keeping the toolchain binaries so the runningxsurvives.Note: I did not redirect the runtime's headless dump into
build/— a shipped game binary shouldn't depend on a./builddir existing; instead the artifact is gitignored andbin/x cleanremoves it. All acceptance criteria met; 46/46 tests green.