From c7a121f8fc6be500590a6f9b0a9de9e316aa12a3 Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Thu, 6 Feb 2020 07:13:58 +0100 Subject: [PATCH] Makefile: add spelling check --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 248bfc0..470fdd7 100644 --- a/Makefile +++ b/Makefile @@ -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