Skip to content
Snippets Groups Projects
Commit 970d541d authored by Florian Fischer's avatar Florian Fischer
Browse files

[check-format] exclude subprojects

parent 2e3f5703
No related branches found
No related tags found
1 merge request!185[check-license] exclude subprojects and use year and git user.name for autofixing
......@@ -41,7 +41,7 @@ fi
cd "${ROOTDIR}"
# Note that the --dry-run and --Werror clang-format arguments require
# clang-format 10 or higher. See https://reviews.llvm.org/D68554
find . \( -path '*/\.*' -o -path "./build*" \) -prune -o \
find . \( -path '*/\.*' -o -path "./subprojects*" -o -path "./build*" \) -prune -o \
-type f -regextype posix-extended -regex '.*\.(c|h|cpp|hpp)' -print0 |\
tee "${CHECKED_FILES_FILE}" |\
xargs --null --max-args=3 --max-procs="${MAX_PROCS}" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment