File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ echo ">> Checking for clang-format issues..."
1313CLANG_FORMAT_BIN=" clang-format"
1414SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
1515
16- files=$( find " $SCRIPT_DIR " /../src/ " $SCRIPT_DIR " /../tests/ \( -name ' *.cpp' -o -name ' *.hpp' -o -name ' *.c' -o -name ' *.h' \) )
16+ files=$( find " $SCRIPT_DIR " /../src/ " $SCRIPT_DIR " /../tests/ \( -name ' *.cpp' -o -name ' *.hpp' -o -name ' *.c' -o -name ' *.h' \) | sort )
1717format_errors=0
1818for file in $files ; do
1919 if [ -f " $file " ]; then
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ if [ ! -f "$BUILD_DIR/compile_commands.json" ]; then
2020 exit 1
2121fi
2222
23- files=$( find " $SCRIPT_DIR " /../src/ \( -name ' *.cpp' -o -name ' *.c' \) )
23+ files=$( find " $SCRIPT_DIR " /../src/ \( -name ' *.cpp' -o -name ' *.c' \) | sort )
2424tidy_errors=0
2525for file in $files ; do
2626 echo " Running clang-tidy on $file "
You can’t perform that action at this time.
0 commit comments