diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-07-27 13:35:08 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-07-27 13:37:48 -0400 |
commit | 994f388b5cbf32013c48c3c561a254a8c11bc7db (patch) | |
tree | 5b00910c589e4fffb2f7ded199f72a259f9438ce | |
parent | bca64895e4a083bdc5fe2f68609afbde7a82ec9c (diff) | |
download | kutter-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>
-rwxr-xr-x | scripts/check_whitespace.sh | 5 |
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 |