Skip to content

Add new clang-format integration and reformat codebase#280

Merged
ChrisThrasher merged 2 commits intomasterfrom
clang-format
Sep 1, 2024
Merged

Add new clang-format integration and reformat codebase#280
ChrisThrasher merged 2 commits intomasterfrom
clang-format

Conversation

@ChrisThrasher
Copy link
Copy Markdown
Member

@ChrisThrasher ChrisThrasher commented Aug 31, 2024

Closes #217

This uses the same .clang-format file as SFML with only minor changes to accommodate CSFML's unique header prefix. Just like SFML there is a format target to run clang-format and a CI job that ensures formatting is correct. The first commit of this PR is all the new code I added. The second commit is merely the results of reformatting the codebase.

@ChrisThrasher ChrisThrasher merged commit 54d2832 into master Sep 1, 2024
@ChrisThrasher ChrisThrasher deleted the clang-format branch September 1, 2024 17:32
@eXpl0it3r eXpl0it3r added this to the 3.0 milestone Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add format and tidy targets as seen in SFML

2 participants