Add source code formating tool

add-clang-format
Simon Stürz 2025-12-19 10:52:21 +01:00
parent e34ddc8db4
commit 5e1654d783
1 changed files with 5 additions and 0 deletions

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')