From 26afa381d4e2d36f2e431544384077ee50f241a8 Mon Sep 17 00:00:00 2001 From: Christophe Nanteuil Date: Mon, 14 Jan 2019 22:52:59 +0100 Subject: [PATCH 1/2] Add potodo in venv --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c060f0220..cc9611f16 100644 --- a/Makefile +++ b/Makefile @@ -55,9 +55,12 @@ progress: $(shell msgcat *.po */*.po | grep -c '^msgid') +$(VENV)/bin/potodo: + $(VENV)/bin/pip install potodo + .PHONY: todo -todo: - potodo --github python/python-docs-fr +todo: $(VENV)/bin/potodo + $(VENV)/bin/potodo --github python/python-docs-fr .PHONY: merge merge: upgrade_venv @@ -84,5 +87,5 @@ endif .PHONY: fuzzy -fuzzy: - potodo --github python/python-docs-fr -f +fuzzy: $(VENV)/bin/potodo + $(VENV)/bin/potodo --github python/python-docs-fr -f From 7bdbdbd59bd89bfacfd11036be2d57c43e094d9d Mon Sep 17 00:00:00 2001 From: Christophe Nanteuil Date: Tue, 15 Jan 2019 21:15:12 +0100 Subject: [PATCH 2/2] Verify that the venv exists before installing potodo --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cc9611f16..1a151f48a 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ progress: $(shell msgcat *.po */*.po | grep -c '^msgid') -$(VENV)/bin/potodo: +$(VENV)/bin/potodo: $(VENV)/bin/activate $(VENV)/bin/pip install potodo .PHONY: todo