Added coverage command to Makefile.

This commit is contained in:
Ryan Williams
2009-07-30 19:28:27 -07:00
parent 2cd90437f8
commit bc14a43d92

View File

@@ -25,6 +25,7 @@ help:
@echo " changes to make an overview of all changed/added/deprecated items" @echo " changes to make an overview of all changed/added/deprecated items"
@echo " linkcheck to check all external links for integrity" @echo " linkcheck to check all external links for integrity"
@echo " doctest to run all doctests embedded in the documentation (if enabled)" @echo " doctest to run all doctests embedded in the documentation (if enabled)"
@echo " coverage to generate a docstring coverage report"
clean: clean:
-rm -rf _build/* -rm -rf _build/*
@@ -86,3 +87,8 @@ doctest:
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) _build/doctest $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) _build/doctest
@echo "Testing of doctests in the sources finished, look at the " \ @echo "Testing of doctests in the sources finished, look at the " \
"results in _build/doctest/output.txt." "results in _build/doctest/output.txt."
coverage:
$(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) _build/coverage
@echo "Coverage report finished, look at the " \
"results in _build/coverage/python.txt."