1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-10 12:33:48 -05:00

pyenv-latest: replace -q with -b and -f, document as internal

More tailored for the emergent internal use cases
This commit is contained in:
Ivan Pozdeev
2024-07-20 22:06:13 +03:00
parent 88f76ee787
commit 9373970678
7 changed files with 48 additions and 14 deletions

View File

@@ -15,9 +15,10 @@ after_install 'echo after: \$STATUS'
OUT
stub pyenv-hooks "install : echo '$HOOK_PATH'/install.bash"
stub pyenv-rehash "echo rehashed"
stub pyenv-latest false
definition="${TMP}/3.6.2"
stub pyenv-latest "echo $definition"
cat > "$definition" <<<"echo python-build"
run pyenv-install "$definition"