summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-09-09 19:23:36 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-09-09 19:23:36 +0200
commitb11bf31c59d447e62e6ba9b3d8455f9b2828703f (patch)
tree9c9c9a61a946cf4f18125e3b2176925b73f9b2ca
parent8712d6a95984805e242f1189a5a76db2fbd5d39f (diff)
META: Update run_format to format .cc also
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
-rwxr-xr-xrun_format.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_format.sh b/run_format.sh
index cd638271..9385aed6 100755
--- a/run_format.sh
+++ b/run_format.sh
@@ -5,7 +5,7 @@ THIS_DIR="$(dirname "$THIS_PATH")"
# Find all files in THIS_DIR which end in .ino, .cpp, etc., as specified
# in the regular expression just below
-FILE_LIST="$(find "$THIS_DIR" | grep -E ".*(\.ino|\.cpp|\.c|\.h|\.hpp|\.hxx|\.cxx|\.hh|\.inl)$")"
+FILE_LIST="$(find "$THIS_DIR" | grep -E ".*(\.cc|\.cpp|\.c|\.h|\.hpp|\.hxx|\.cxx|\.hh|\.inl)$")"
echo -e "Files found to format = \n\"\"\"\n$FILE_LIST\n\"\"\""