summaryrefslogtreecommitdiff
path: root/dev.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dev.sh')
-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)