check_whitespace: Also check txt, css, html, yaml, and yml files for errors
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
bca64895e4
commit
994f388b5c
|
@ -9,7 +9,10 @@ cd ${SRCDIR}
|
||||||
WS_DIRS="config/ docs/ klippy/ scripts/ src/ test/"
|
WS_DIRS="config/ docs/ klippy/ scripts/ src/ test/"
|
||||||
WS_EXCLUDE="-path scripts/kconfig -prune"
|
WS_EXCLUDE="-path scripts/kconfig -prune"
|
||||||
WS_FILES="-o -iname '*.[csh]' -o -name '*.py' -o -name '*.sh'"
|
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 -name '*.test' -o -name '*.config'"
|
||||||
WS_FILES="$WS_FILES -o -iname '*.lds' -o -iname 'Makefile' -o -iname 'Kconfig'"
|
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
|
eval find $WS_DIRS $WS_EXCLUDE $WS_FILES | xargs ./scripts/check_whitespace.py
|
||||||
|
|
Loading…
Reference in New Issue