summaryrefslogtreecommitdiff
path: root/dev.sh
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-03-16 23:00:15 +0200
committerViljami Ilola <+@hix.fi>2024-03-16 23:00:15 +0200
commitf813de372fe89ff3bc9c34803b99e19cf0de4aac (patch)
tree5b91d355f844a7ab3e52aa7e646c52e9c5f73fc5 /dev.sh
parent2e3a09a64f424fa2ead7d35ebcc24034de8b3586 (diff)
add draft assets and add run command to dev.sh
Diffstat (limited to 'dev.sh')
-rwxr-xr-xdev.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev.sh b/dev.sh
index c4125ed..c1fafd2 100755
--- a/dev.sh
+++ b/dev.sh
@@ -8,10 +8,11 @@ Usage: $0 <command>
Commands:
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
-covff Open html coverage report in firefox
+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
" && exit 0
@@ -48,6 +49,10 @@ case $1 in
&& $0 poetry-dev-deps
;;
+ run)
+ DEBUG=1 poetry run python3 src/sliceitoff
+ ;;
+
pytest)
poetry run pytest -v
;;