Continue reading "A Strategy for Enforcing Formatting with Your Build Server"
A Strategy for Enforcing Formatting with Your Build Server
Now that we've learned to use clang-format and created style rules for our project, we need to make sure we're enforcing clang-format usage. In an optimal flow, we would enforce formatting before allowing changes to be checked in. A common strategy would be to enforce formatting using a git commit hook. However, I have two …
