Embedded Artistry "format" Repository

We recently learned how to use clang-format and created our own formatting style. I also shared clang-format wrapper scripts that I use on my projects.

I've created an Embedded Artistry format repository which contains my clang-format rules, helpful wrapper scripts, and an installation script.

The format repository is meant to be included in other repositories as a submodule. In most of my repositories, I usually include this in a tools/ directory. Once you have submodule'd the repository, call the setup.sh script. This script will search up the directory tree to find a parent .git repository. When found, that is assumed to be the root of the source tree and the .clang-format reference file is installed.

Fork this repository and create your own style rules to use with your projects.