From e47ba65550ea7fb73ef6353b16c2d45822aa65b0 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 4 Apr 2023 13:45:12 +0200 Subject: [PATCH] another test --- scripts/auto-formatter.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/auto-formatter.sh b/scripts/auto-formatter.sh index f2f8b932..d25b67ea 100755 --- a/scripts/auto-formatter.sh +++ b/scripts/auto-formatter.sh @@ -31,11 +31,11 @@ fi cpp_format="clang-format" file_selectors="-iname *.h -o -iname *.cpp -o -iname *.c -o -iname *.tpp" -file_excludes="-not -path '*translateObjects.cpp' -not -path '*translateEvents.cpp'" +file_excludes="-not -path '*translateObjects.cpp' - -not -path '*translateEvents.cpp'" if command -v ${cpp_format} &> /dev/null; then for dir in ${folder_list[@]}; do echo "Auto-formatting C/C++ files in ${dir} recursively" - find ${dir} ${file_selectors} ${file_excludes} | xargs ${cpp_format} --style=file -i + find ${dir} ${file_excludes} ${file_selectors} | xargs ${cpp_format} --style=file -i done find ./unittest ${file_selectors} -o -type d -name build -prune | \ xargs clang-format --style=file -i