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

Added checking and applying of clang-format #3

Merged
merged 1 commit into from
Dec 7, 2023

Commits on Dec 6, 2023

  1. Added checking and applying of clang-format

    Add a convenience script to allow checking of clang format on files in
    the repo. This adds a bit nicer error reporting on top of
    'git clang-format', and works in CI where 'git clang-format' may not be
    available.
    
    We also add the github workflow to make sure that clang format is
    applied.
    
    Usage of the script in CI is:
    
      tools/run-clang-format.py check
    
    and to apply clang-format to all .c, .cpp, .h and .hpp files, use
    
      tools/run-clang-format.py apply
    keeranroth committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    00f7a72 View commit details
    Browse the repository at this point in the history