Makefile: add spelling check

This commit is contained in:
Lars Kruse 2020-02-06 07:13:58 +01:00
parent 806dc07f89
commit c7a121f8fc
1 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,7 @@ help:
@$(info clean-all - remove old releases from 'DIST_DIR' ($(DIST_DIR)))
@$(info help - show this overview)
@$(info lint - code style checks)
@$(info spelling - check spelling)
@$(info tgz - create release archive)
.PHONY: all
@ -67,3 +68,7 @@ $(TGZ_FILE):
.PHONY: lint
lint:
shellcheck -s dash --exclude=SC2230 $(PLUGIN_FILES) "$(INPUT_FILE)"
.PHONY: spelling
spelling:
find -name .git -prune -or -name $(DIST_DIR) -prune -or -type f | xargs codespell