aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index c994fd3..7c92d1d 100644
--- a/Makefile
+++ b/Makefile
@@ -99,19 +99,19 @@ buildx/push:
venv_dir := .venv
-.PHONY: venv-reset
-venv-reset:
+.PHONY: venv/reset
+venv/reset:
rm -rf -- '$(call escape,$(venv_dir))'
mkdir -p -- '$(call escape,$(venv_dir))'
python -m venv -- '$(call escape,$(venv_dir))'
.PHONY: venv
-venv: venv-reset
+venv: venv/reset
. '$(call escape,$(venv_dir))/bin/activate' && pip install -r requirements.txt
# Is there a better way?
-.PHONY: venv-update
-venv-update: venv-reset
+.PHONY: venv/upgrade
+venv/upgrade: venv/reset
. '$(call escape,$(venv_dir))/bin/activate' \
&& pip install . \
&& pip uninstall --yes "$$( python setup.py --name )" \