From 5e1654d78355d5bb811a11b50a2ce4c0d23998f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Fri, 19 Dec 2025 10:52:21 +0100 Subject: [PATCH] Add source code formating tool --- tools/format-source.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 tools/format-source.sh diff --git a/tools/format-source.sh b/tools/format-source.sh new file mode 100755 index 0000000..180e1ec --- /dev/null +++ b/tools/format-source.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -euo pipefail + +clang-format -i \ + $(git ls-files '*.cpp' '*.cc' '*.cxx' '*.h' '*.hpp' '*.hh' '*.ipp')