diff options
author | Viljami Ilola <+@hix.fi> | 2024-04-10 14:38:03 +0300 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-04-10 14:38:03 +0300 |
commit | 048f51c63c54ccc4ed95d82d9294819ab928cfff (patch) | |
tree | 12fc842f59ba827eb90e941f2c67fecae9cc21a1 | |
parent | 88ea69a41bd1de8d550b896b1a116e2b48f83d77 (diff) |
clean ./dev.sh little
-rwxr-xr-x | dev.sh | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -13,10 +13,10 @@ dev Install developement envoronment run Run the app in developement environment pytest Run pytest unittests pylint Do pylint -covhtml Make branch coverage report in html format +covhtml Make branch coverage report with coverage in html format covff Genarate and open html coverage report in firefox all Do it all: pytest, coverage report in firefox and pylint -install Build poetry package and install it for current user +install Build PyPI package form source and install it " && exit 0 # Ensure ~/.local/bin in the PATH. @@ -57,7 +57,7 @@ case $1 in ;; run) - DEBUG=1 poetry run python3 src/sliceitoff + DEBUG=1 poetry run sliceitoff ;; pytest) @@ -65,16 +65,16 @@ case $1 in ;; pylint) - poetry run python3 -m pylint src/sliceitoff/ + poetry run pylint src/ ;; coverage) - poetry run python3 -m coverage run -m pytest -v + poetry run coverage run -m pytest -v ;; covhtml) $0 coverage \ - && poetry run python3 -m coverage html + && poetry run coverage html ;; covff) |