diff options
Diffstat (limited to 'dev.sh')
-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) |