Add an update command
This commit is contained in:
parent
b072ee441f
commit
559a88367a
7
dev.sh
7
dev.sh
|
@ -72,7 +72,11 @@ test (){
|
||||||
nix flake check
|
nix flake check
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks=("clean" "cleanall" "debug" "docker" "run" "test" "venv")
|
update (){
|
||||||
|
poetry update --lock
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks=("clean" "cleanall" "debug" "docker" "run" "test" "venv" "update")
|
||||||
|
|
||||||
# only one task at a time
|
# only one task at a time
|
||||||
if [ $# != 1 ]; then
|
if [ $# != 1 ]; then
|
||||||
|
@ -89,4 +93,5 @@ case $1 in
|
||||||
"${tasks[4]}") run;;
|
"${tasks[4]}") run;;
|
||||||
"${tasks[5]}") test;;
|
"${tasks[5]}") test;;
|
||||||
"${tasks[6]}") venv;;
|
"${tasks[6]}") venv;;
|
||||||
|
"${tasks[7]}") update;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue