chore: Add additional directory

main
Sean McBride 4 years ago
parent c0f80e6a73
commit 02244fd76f

@ -25,6 +25,9 @@ if ((major < required_major)) || ((minor < required_minor)) || ((patch < require
exit 1 exit 1
fi fi
find ./runtime -type f -path "./*.[ch]" | # Match all *.c and *.h files in ./runtime # Match all *.c and *.h files in ./runtime
grep --invert-match -E "./runtime/thirdparty/*|./runtime/tests/gocr/*|./runtime/tests/TinyEKF/*|./runtime/tests/CMSIS_5_NN/*|./runtime/tests/sod/*" | # Excluding those in the jsmn or http-parser submodules # Excluding those in the jsmn or http-parser submodules
xargs clang-format -i # And format them with clang-format # And format them with clang-format
find ./runtime -type f -path "./*.[ch]" |
grep --invert-match -E "./runtime/thirdparty/*|./runtime/tests/gocr/*|./runtime/tests/TinyEKF/*|./runtime/tests/CMSIS_5_NN/*|./runtime/tests/sod/*|**/thirdparty/*" |
xargs clang-format -i

Loading…
Cancel
Save