From bc14a43d9232cffba1c0a21e18feb8f092f4e481 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Thu, 30 Jul 2009 19:28:27 -0700 Subject: [PATCH] Added coverage command to Makefile. --- doc/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/Makefile b/doc/Makefile index 9369df3..01336ea 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -25,6 +25,7 @@ help: @echo " changes to make an overview of all changed/added/deprecated items" @echo " linkcheck to check all external links for integrity" @echo " doctest to run all doctests embedded in the documentation (if enabled)" + @echo " coverage to generate a docstring coverage report" clean: -rm -rf _build/* @@ -86,3 +87,8 @@ doctest: $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) _build/doctest @echo "Testing of doctests in the sources finished, look at the " \ "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."