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}"