summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-04-10 14:38:03 +0300
committerViljami Ilola <+@hix.fi>2024-04-10 14:38:03 +0300
commit048f51c63c54ccc4ed95d82d9294819ab928cfff (patch)
tree12fc842f59ba827eb90e941f2c67fecae9cc21a1
parent88ea69a41bd1de8d550b896b1a116e2b48f83d77 (diff)
clean ./dev.sh little
-rwxr-xr-xdev.sh12
1 files changed, 6 insertions, 6 deletions
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)