Add source code formating tool

This commit is contained in:
Simon Stürz 2025-12-19 10:52:21 +01:00
parent e34ddc8db4
commit 5e1654d783

5
tools/format-source.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
clang-format -i \
$(git ls-files '*.cpp' '*.cc' '*.cxx' '*.h' '*.hpp' '*.hh' '*.ipp')