From d48cbe75ef29a9c67c9d176bf58e56ea6448fb9e Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 21 Oct 2024 20:23:36 +0200 Subject: IMP: Major refactor of header and source files extensions. Signed-off-by: Amlal El Mahrouss --- run_format.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'run_format.sh') 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 - -- cgit v1.2.3