Closed iamazeem closed 2 weeks ago
Add .clang-format based on Microsoft style guide
.clang-format
ubnutu-latest
Add shell script to run clang-format
clang-format
Update CI accordingly to integrate clang-format
.c
.h
.h.in
format
tag
TAG
ci
Format all existing C/Markdown/JS/JSON source files for future conformance
Fix usage text
Fixes #154
Fixes #185
Signed-off-by: Azeem Sajid azeem.sajid@gmail.com
@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
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 #154
Fixes #185
Signed-off-by: Azeem Sajid azeem.sajid@gmail.com