Skip to content

Commit

Permalink
Add test and check targets (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianaklulo committed Nov 6, 2023
1 parent bc7a605 commit d95f769
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ help:

.PHONY: help Makefile

# Run doctests
test:
@$(SPHINXBUILD) -b doctest -n "$(SOURCEDIR)" "$(BUILDDIR)"

# Run spellcheck
check:
@$(SPHINXBUILD) -b spelling -n "$(SOURCEDIR)" "$(BUILDDIR)"

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
Expand Down

0 comments on commit d95f769

Please sign in to comment.