summaryrefslogtreecommitdiffhomepage
path: root/run_format.sh
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-10-21 20:23:36 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-10-21 20:23:36 +0200
commitd48cbe75ef29a9c67c9d176bf58e56ea6448fb9e (patch)
tree89cbd6b7e23802f92bf3158868f4dc33c088e516 /run_format.sh
parent21b3da78f806d6765f9dffa6a84c21346f171cee (diff)
IMP: Major refactor of header and source files extensions.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'run_format.sh')
-rwxr-xr-xrun_format.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/run_format.sh b/run_format.sh
index bd8dc9bf..8573088f 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 ".*(\.cc|\.cpp|\.c|\.h|\.hpp|\.hxx|\.cxx|\.hh|\.inl)$")"
+FILE_LIST="$(find "$THIS_DIR" | grep -E ".*(\.cc|\.cpp|\.c|\.h|\.hpp|\.h|\.cxx|\.hh|\.inl)$")"
echo -e "Files found to format = \n\"\"\"\n$FILE_LIST\n\"\"\""
@@ -14,4 +14,3 @@ echo -e "Files found to format = \n\"\"\"\n$FILE_LIST\n\"\"\""
# mistakenly see the entire blob of newline-separated file names as a SINGLE file name instead
# of as a new-line separated list of *many* file names!
clang-format --verbose -i --style=file $FILE_LIST
-