Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: code structure #194

Conversation

vados-cosmonic
Copy link

This PR refactors the C++ code to be stored under src and updates build and machinery to match.

scripts/componentize.sh Outdated Show resolved Hide resolved
@vados-cosmonic vados-cosmonic force-pushed the refactor=code-structure branch 2 times, most recently from 7ccada1 to a94ddd0 Compare January 9, 2025 16:24
@vados-cosmonic vados-cosmonic requested a review from cfallin January 9, 2025 16:25
@vados-cosmonic vados-cosmonic force-pushed the refactor=code-structure branch 6 times, most recently from 614569e to 74bab02 Compare January 9, 2025 20:05
This commit moves the C++ build files to the top level directory `src`
inside the repo, to enable some differentiation between source code
and other repo artifacts/files.

A few changes are included to refactor the codebase

- update cmake file references
- rename justfile to Justfile
- fix componentize.sh references in cmake & elsewhere
- wpt builtin location

Signed-off-by: Victor Adossi <[email protected]>
@vados-cosmonic vados-cosmonic force-pushed the refactor=code-structure branch from 74bab02 to 1a9306c Compare January 9, 2025 20:10
README.md Outdated Show resolved Hide resolved
Justfile Outdated Show resolved Hide resolved
@vados-cosmonic vados-cosmonic force-pushed the refactor=code-structure branch from 7e86377 to 6159629 Compare January 10, 2025 08:41
@tschneidereit
Copy link
Member

Can you provide more information on the motivation behind this refactor?

@tschneidereit
Copy link
Member

I'm asking because while most of it is mechanical, it does have enough moving parts that I'd want to review it in some detail, which would cost a bunch of time

@vados-cosmonic
Copy link
Author

Sorry I noted a bit on Zulip here, but the basic idea was that the code was a little difficult to find, and the separation between scripts that I was supposed to use versus stuff used by cmake was a bit confusing.

The refactor occurred to me as I was trying to change how starling was componentized

@vados-cosmonic
Copy link
Author

Closing for now -- hopefully we can revisit this maybe when some of the Rust enablement work lands!

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.

4 participants