-
Notifications
You must be signed in to change notification settings - Fork 16
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
Automate source code formatting with clang-format
#190
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iamazeem
added
documentation
Improvements or additions to documentation
enhancement
New feature or request
labels
Aug 23, 2024
@liquidaty: Please review. Thanks! As the PR is quite long, you might want to hide whitespace while reviewing it. Here's its latest workflow run: https://github.com/liquidaty/zsv/actions/runs/10537929437 |
iamazeem
changed the title
Format source (add
[CI] Automate source code formatting with Aug 25, 2024
.clang-format
).clang-format
iamazeem
changed the title
[CI] Automate source code formatting with
Automate source code formatting with Aug 25, 2024
.clang-format
clang-format
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add
.clang-format
based on Microsoft style guideubnutu-latest
(Ubuntu 22.04) runner has Clang-format: 13.0.1, 14.0.0, 15.0.7 preinstalled on it.Add shell script to run
clang-format
Update CI accordingly to integrate
clang-format
.c
/.h
/.h.in
files.format
to runclang-format
tag
to setTAG
output parameter forci
jobFormat all existing C/Markdown/JS/JSON source files for future conformance
Fix usage text
Fixes Inconsistent
zsv help <command>
formatting #154Fixes Automate source code formatting with
clang-format
#185Signed-off-by: Azeem Sajid [email protected]