From 048f51c63c54ccc4ed95d82d9294819ab928cfff Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Wed, 10 Apr 2024 14:38:03 +0300 Subject: clean ./dev.sh little --- dev.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'dev.sh') diff --git a/dev.sh b/dev.sh index 9c324d4..fb8ac0c 100755 --- a/dev.sh +++ b/dev.sh @@ -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) -- cgit v1.2.3