Add spell-checking to the regression tests.

This commit is contained in:
Eric S. Raymond 2025-05-25 11:06:46 -04:00
parent 7bbf994fce
commit 7d848c89e1
2 changed files with 4 additions and 2 deletions

View file

@ -23,3 +23,5 @@ You can also use pip to install PyYAML: `pip3 install PyYAML`.
5. Run `./advent` to play. 5. Run `./advent` to play.
6. If you want to buld the documentation you will need asciidoctor. 6. If you want to buld the documentation you will need asciidoctor.
7. Running the regression tests requires batchspell

View file

@ -72,11 +72,11 @@ cppcheck:
pylint: pylint:
@-pylint --score=n *.py */*.py @-pylint --score=n *.py */*.py
check: advent cheat pylint cppcheck check: advent cheat pylint cppcheck spellcheck
cd tests; $(MAKE) --quiet cd tests; $(MAKE) --quiet
spellcheck: spellcheck:
@batchspell adventure.yaml @batchspell adventure.yaml advent.adoc
reflow: reflow:
@clang-format --style="{IndentWidth: 8, UseTab: ForIndentation}" -i $$(find . -name "*.[ch]") @clang-format --style="{IndentWidth: 8, UseTab: ForIndentation}" -i $$(find . -name "*.[ch]")