Skip to content

Commit 9c52dd9

Browse files
christopheNanJulienPalard
authored andcommitted
Add potodo in venv (#543)
* Add potodo in venv * Verify that the venv exists before installing potodo
1 parent e7c4170 commit 9c52dd9

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,12 @@ progress:
5555
$(shell msgcat *.po */*.po | grep -c '^msgid')
5656

5757

58+
$(VENV)/bin/potodo: $(VENV)/bin/activate
59+
$(VENV)/bin/pip install potodo
60+
5861
.PHONY: todo
59-
todo:
60-
potodo --github python/python-docs-fr
62+
todo: $(VENV)/bin/potodo
63+
$(VENV)/bin/potodo --github python/python-docs-fr
6164

6265
.PHONY: merge
6366
merge: upgrade_venv
@@ -84,5 +87,5 @@ endif
8487

8588

8689
.PHONY: fuzzy
87-
fuzzy:
88-
potodo --github python/python-docs-fr -f
90+
fuzzy: $(VENV)/bin/potodo
91+
$(VENV)/bin/potodo --github python/python-docs-fr -f

0 commit comments

Comments
 (0)