diff options
author | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-03-06 23:07:36 +0200 |
---|---|---|
committer | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-03-06 23:07:36 +0200 |
commit | aef86e64b5efecd85aaa600d9a4c2cc9cd9126fb (patch) | |
tree | 2d6c12a96d2467bda29ddd4dbeb1d6caa2cf868f | |
parent | 0b555d6bc436e9fc5ae8aa8605d1cdc5d6217c51 (diff) |
dev.sh recursion
-rwxr-xr-x | dev.sh | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -36,25 +36,26 @@ case $1 in poetry run python3 -m pylint src/miinaharava/ ;; + coverage) + poetry run python3 -m coverage run --branch -m pytest -v + ;; + covhtml) - poetry run python3 -m coverage run --branch -m pytest -v \ + $0 coverage \ && poetry run python3 -m coverage html ;; covxml) - poetry run python3 -m coverage run --branch -m pytest -v \ + $0 coverage \ && poetry run python3 -m coverage xml ;; covff) - poetry run python3 -m coverage run --branch -m pytest -v \ - && poetry run python3 -m coverage html \ + $0 covhtml \ && firefox htmlcov/index.html ;; - all) poetry run python3 -m coverage run --branch -m pytest -v \ - && poetry run python3 -m coverage html \ - && firefox htmlcov/index.html \ + all) $0 covff \ && poetry run python3 -m pylint src/miinaharava/ ;; |