summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-03-06 23:20:43 +0200
committerAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-03-06 23:20:43 +0200
commitbb0697c68191d4f6a35a9f66a96867f4a7dbe9e3 (patch)
tree0295baba138985ca5da5bbacb64ccd75e583b10c
parentaef86e64b5efecd85aaa600d9a4c2cc9cd9126fb (diff)
even more recursion
-rwxr-xr-xdev.sh16
1 files 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)