From 936c6bbf9fee18adee78a5c3d3e44c2ed42c9018 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 30 Dec 2023 00:41:20 +0100 Subject: [PATCH] Don't reformat stuff in the sfw folder. --- misc/scripts/clang_format.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/scripts/clang_format.sh b/misc/scripts/clang_format.sh index eb74c76..b60c1e3 100755 --- a/misc/scripts/clang_format.sh +++ b/misc/scripts/clang_format.sh @@ -14,6 +14,8 @@ while IFS= read -rd '' f; do # Exclude some files. if [[ "$f" == *"-so_wrap."* ]]; then continue + elif [[ "$f" == "sfw"* ]]; then + continue fi for extension in ${CLANG_FORMAT_FILE_EXTS[@]}; do