From a16c90e6323dd51dc097c0d77c6f2c4e0bd0e5fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Barrois?= Date: Thu, 2 Jul 2015 16:40:29 +0200 Subject: Fix coverage building. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c700042..4b394e1 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ install-deps: auto_dev_requirements_django$(DJANGO_VERSION).txt pip freeze auto_dev_requirements_%.txt: dev_requirements_%.txt dev_requirements.txt requirements.txt - grep --no-filename "^[^-]" $^ | grep -v "^Django" > $@ + grep --no-filename "^[^#-]" $^ | grep -v "^Django" > $@ echo "Django>=$(DJANGO_VERSION),<$(NEXT_DJANGO_VERSION)" >> $@ clean: @@ -46,6 +46,9 @@ coverage: install-deps $(COVERAGE) report "--include=$(PACKAGE)/*.py,$(TESTS_DIR)/*.py" $(COVERAGE) html "--include=$(PACKAGE)/*.py,$(TESTS_DIR)/*.py" +coverage-xml-report: coverage + $(COVERAGE) xml "--include=$(PACKAGE)/*.py,$(TESTS_DIR)/*.py" + doc: $(MAKE) -C $(DOC_DIR) html -- cgit v1.2.1