scripts/format: remove unused dirs from the filter
@@ -17,11 +17,8 @@ command -v ${CLANGFORMAT} >/dev/null 2>&1 || { echo >&2 "${CLANGFORMAT} is missi
# TODO: Put all external code in "external"
FILES=$(find src/ test/ \
\( \
- -path src/drivers -o \
- -path src/generated -o \
-path src/ui/fonts -o \
- -name "ugui*" -o \
- -name "base32.*" \
+ -name "ugui*" \
\) -prune -o \( -name "*.c" -o -name "*.h" \) -print)
if [ "${VERBOSE}" != "NO" ] ; then
