From f813de372fe89ff3bc9c34803b99e19cf0de4aac Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sat, 16 Mar 2024 23:00:15 +0200 Subject: add draft assets and add run command to dev.sh --- dev.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'dev.sh') diff --git a/dev.sh b/dev.sh index c4125ed..c1fafd2 100755 --- a/dev.sh +++ b/dev.sh @@ -8,10 +8,11 @@ Usage: $0 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 ;; -- cgit v1.2.3