omf2097 / openomf

One Must Fall 2097 Remake
http://www.openomf.org
MIT License
362 stars 35 forks source link

Run formatting check in GA CI using clang-format #446

Closed katajakasa closed 2 years ago

katajakasa commented 2 years ago

CMake integration was not handling some things correctly, so I swapped the integration to just pure GLOB search of C and H files and then running clang-format against them. This way it does not care about what targets are enabled.