Add potodo in venv (#543)

* Add potodo in venv

* Verify that the venv exists before installing potodo
This commit is contained in:
Christophe Nanteuil 2019-01-17 00:40:37 +01:00 committed by Julien Palard
parent e7c4170bfe
commit 9c52dd9e4c

View File

@ -55,9 +55,12 @@ progress:
$(shell msgcat *.po */*.po | grep -c '^msgid') $(shell msgcat *.po */*.po | grep -c '^msgid')
$(VENV)/bin/potodo: $(VENV)/bin/activate
$(VENV)/bin/pip install potodo
.PHONY: todo .PHONY: todo
todo: todo: $(VENV)/bin/potodo
potodo --github python/python-docs-fr $(VENV)/bin/potodo --github python/python-docs-fr
.PHONY: merge .PHONY: merge
merge: upgrade_venv merge: upgrade_venv
@ -84,5 +87,5 @@ endif
.PHONY: fuzzy .PHONY: fuzzy
fuzzy: fuzzy: $(VENV)/bin/potodo
potodo --github python/python-docs-fr -f $(VENV)/bin/potodo --github python/python-docs-fr -f