Skip to content

add script to check clang-format without parallel command

Tobias Arens requested to merge 445-check-format-script-windows into master

Add script that rewrites check-format-cpp.sh to not use the parallel command. Instead it uses the shell & to start a check for each file in the background (and thus somehow parallel). Performance might be worse, but it is only used for local checking before pushing.

Closes #445

Reviewer Checklist

Formatting

  • the pre-build checks succeed

General code quality

  • naming conventions are met (see .clang-tidy for detailed information)
  • no static analyzer warnings in new code parts (e.g., use clang-tidy for checking)

General usability

  • old versions of pet-files are still loadable

Only if changes in UI

  • new elements are also saved and loaded from pet-file
  • check if tab order is still correct
  • all new SpinBoxes are promoted
  • new keybindings added to Petrack::keyBindings()

Merge request reports