From d7765033ceacd8de90c6a655cfa72340cc6ba530 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 29 Sep 2024 17:07:32 +0200 Subject: [PATCH] venvs/start --- re.sh | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/re.sh b/re.sh index 47e62ba..85b2efa 100755 --- a/re.sh +++ b/re.sh @@ -97,6 +97,20 @@ uv_venv() { --seed \ "${1}" } +venvs() { + local action="${1}" + local venv version + set \ + "3.12" \ + "3.11" \ + "3.10" + for version in "${@}"; do + venv="${root}/${version}" + case "${action}" in + *) ;; + esac + done +} caches remove @@ -109,11 +123,6 @@ pip_install --upgrade "pip" pip_install "uv" list_venv "${os}" -set \ - "3.12" \ - "3.11" \ - "3.10" - for version in "${@}"; do py="${root}/${version}" remove "${py}"