Closed COM8 closed 2 years ago
Those are things I could have thought about :D Fixed it.
Nice one! Thanks for updating it so fast - just having a look. I can see that the format command now reflects the file
command, but I can see that also the examples
folder also has some udpates - did you run the command through the Makefile
? Or did you run it through a different command? Just thinking it makes sense that we also format the examples but may be worth making the command in the makefile
consistent with the changes
I've used this script: https://github.com/eklitzke/clang-format-all/blob/master/clang-format-all But you are right it makes sense to reflect the changes in the Makefile. I fixed that.
Perfect - looks great. Nice one @COM8 , merging - thanks for the contribution
This PR adds a
.clang-format
file based on the configuration specified in the Makefile. I also run it over all files in the repo once.