aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/check_whitespace.sh
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-07-27 13:35:08 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-07-27 13:37:48 -0400
commit994f388b5cbf32013c48c3c561a254a8c11bc7db (patch)
tree5b00910c589e4fffb2f7ded199f72a259f9438ce /scripts/check_whitespace.sh
parentbca64895e4a083bdc5fe2f68609afbde7a82ec9c (diff)
downloadkutter-994f388b5cbf32013c48c3c561a254a8c11bc7db.tar.gz
kutter-994f388b5cbf32013c48c3c561a254a8c11bc7db.tar.xz
kutter-994f388b5cbf32013c48c3c561a254a8c11bc7db.zip
check_whitespace: Also check txt, css, html, yaml, and yml files for errors
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/check_whitespace.sh')
-rwxr-xr-xscripts/check_whitespace.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/check_whitespace.sh b/scripts/check_whitespace.sh
index bd136d86..4fe2146e 100755
--- a/scripts/check_whitespace.sh
+++ b/scripts/check_whitespace.sh
@@ -9,7 +9,10 @@ cd ${SRCDIR}
WS_DIRS="config/ docs/ klippy/ scripts/ src/ test/"
WS_EXCLUDE="-path scripts/kconfig -prune"
WS_FILES="-o -iname '*.[csh]' -o -name '*.py' -o -name '*.sh'"
-WS_FILES="$WS_FILES -o -name '*.md' -o -name '*.cfg'"
+WS_FILES="$WS_FILES -o -name '*.md' -o -name '*.cfg' -o -name '*.txt'"
+WS_FILES="$WS_FILES -o -name '*.html' -o -name '*.css'"
+WS_FILES="$WS_FILES -o -name '*.yaml' -o -name '*.yml'"
+WS_FILES="$WS_FILES -o -name '*.css' -o -name '*.yaml' -o -name '*.yml'"
WS_FILES="$WS_FILES -o -name '*.test' -o -name '*.config'"
WS_FILES="$WS_FILES -o -iname '*.lds' -o -iname 'Makefile' -o -iname 'Kconfig'"
eval find $WS_DIRS $WS_EXCLUDE $WS_FILES | xargs ./scripts/check_whitespace.py