c-project-template icon indicating copy to clipboard operation
c-project-template copied to clipboard

Create the `fmt` rule to format our source code using clang-format

Open diegoholiveira opened this issue 4 years ago • 0 comments

Currently, it's very common to have a tool to help us keep the same code style in a project. To accomplish, this PR is introducing fmt in our Makefile to help us have clang-format running from the start in a way that new projects can always follow the same code style.

The default style, fixed in the Makefile, is as close as possible to the existing code.

diegoholiveira avatar Aug 02 '21 14:08 diegoholiveira