From bb0697c68191d4f6a35a9f66a96867f4a7dbe9e3 Mon Sep 17 00:00:00 2001 From: Aineopintojen-harjoitustyo-Algoritmit-j Date: Wed, 6 Mar 2024 23:20:43 +0200 Subject: even more recursion --- dev.sh | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/dev.sh b/dev.sh index 10988ab..29633c5 100755 --- a/dev.sh +++ b/dev.sh @@ -22,10 +22,18 @@ echo "\033[32m>>> $0 $1 - started.\033[0m" case $1 in + install-poetry) + pipx install poetry + ;; + + poetry-dev-deps) + PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring \ + poetry install --no-root + ;; + dev) - pipx install poetry \ - && PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring \ - poetry install --no-root + $0 install-poetry \ + && $0 poetry-dev-deps ;; pytest) @@ -56,7 +64,7 @@ case $1 in ;; all) $0 covff \ - && poetry run python3 -m pylint src/miinaharava/ + && $0 pylint ;; install) -- cgit v1.2.3