Add spell-checking to the regression tests.
This commit is contained in:
parent
7bbf994fce
commit
7d848c89e1
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -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]")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue