Skip to content

[6/9] Move sources under src into domain layout - #6

Open
friendly-ripper wants to merge 1 commit into
stack/05-macos-launcherfrom
stack/06-source-layout
Open

friendly-ripper wants to merge 1 commit into
stack/05-macos-launcherfrom
stack/06-source-layout

Conversation

@friendly-ripper

@friendly-ripper friendly-ripper commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

Part 6 of 9 · base stack/05-macos-launcher · 1 commit

Sources still sit in the layout they grew in, which no longer matches how the code is organised. This PR moves them into the domain layout the previous PRs established, so a reader can find a feature, a binding, or a library by directory.

What changes

  • Features, game bindings, and sync move into their domain directories under src/mod/; reusable libraries go under src/libs/, entry points under src/platform/, and the Swift launcher under src/launcher/. User guides and examples move under docs/.
  • Includes, build source paths, embedded assets, and packaging paths move together with the files. Implementations and dependency versions are unchanged.

Testing

Built with xmake. The commit was built on macOS arm64. Nothing was run in the game.

Features, game bindings and sync move into their domain
directories, reusable libraries under src/libs, entry points
under src/platform, and the Swift launcher under src/launcher.
User guides and examples move under docs.

Includes, build source paths, embedded assets and packaging
paths move together. Implementations and dependency versions
are unchanged.
@friendly-ripper
friendly-ripper added this pull request to stack #9 October 18, 2026 16:31
@friendly-ripper
friendly-ripper force-pushed the stack/06-source-layout branch 2 times, most recently from bf6a15c to 4e42c9b Compare October 21, 2026 21:39
@friendly-ripper
friendly-ripper force-pushed the stack/06-source-layout branch 2 times, most recently from d524866 to 14c1199 Compare October 22, 2026 00:43
@friendly-ripper friendly-ripper changed the title [6/8] Reorganize sources and documentation [6/9] Move sources under src into domain layout Oct 24, 2026
@friendly-ripper
friendly-ripper force-pushed the stack/06-source-layout branch 2 times, most recently from 85ea425 to e67a2e5 Compare November 2, 2026 14:23
@friendly-ripper
friendly-ripper force-pushed the stack/06-source-layout branch 2 times, most recently from 4ffea87 to 7538411 Compare November 13, 2026 15:17
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