fi
if [[ -f tools/format-cpp.sh ]]; then
- FORMATTER="clang-format-15 -i" tools/format-cpp.sh
+ FORMATTER="clang-format-16 -i" tools/format-cpp.sh
git diff --exit-code | tee ../../clang-format.out || exit_code=1
fi
tools/shellcheck.sh | tee ../../shellcheck.out || exit_code=1
fi
+if [[ -f tools/check-include-guards.sh ]]; then
+ tools/check-include-guards.sh | tee ../../check-include-guards.out || exit_code=1
+fi
+
exit $exit_code