From 7d848c89e1f771c043d99a0495836a8575d8995e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 25 May 2025 11:06:46 -0400 Subject: [PATCH] Add spell-checking to the regression tests. --- INSTALL.adoc | 2 ++ Makefile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/INSTALL.adoc b/INSTALL.adoc index 5184d6b..fb93b7d 100644 --- a/INSTALL.adoc +++ b/INSTALL.adoc @@ -23,3 +23,5 @@ You can also use pip to install PyYAML: `pip3 install PyYAML`. 5. Run `./advent` to play. 6. If you want to buld the documentation you will need asciidoctor. + +7. Running the regression tests requires batchspell diff --git a/Makefile b/Makefile index b0a752a..e4e31cb 100644 --- a/Makefile +++ b/Makefile @@ -72,11 +72,11 @@ cppcheck: pylint: @-pylint --score=n *.py */*.py -check: advent cheat pylint cppcheck +check: advent cheat pylint cppcheck spellcheck cd tests; $(MAKE) --quiet spellcheck: - @batchspell adventure.yaml + @batchspell adventure.yaml advent.adoc reflow: @clang-format --style="{IndentWidth: 8, UseTab: ForIndentation}" -i $$(find . -name "*.[ch]")