empty task check

This commit is contained in:
Timerix 2024-07-12 02:55:37 +03:00
parent ace31427c3
commit 821cf0794e
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
+ fixed bugs in `--new-project`
+ updated `.gitignore`
+ added `pwd` call to `valgrind` task in config
+ added `""` empty task check in config
# 2.0.0
+ updated setup.sh to do system-wide installation

View File

@ -116,7 +116,7 @@ case "$TASK" in
;;
# executes $EXEC_FILE with valgrind memory checker
valgrind)
VALGRIND_ARGS="-s --read-var-info=yes --track-origins=yes --fullpath-after=$(pwd)/ --leak-check=full --show-leak-kinds=all"
VALGRIND_ARGS="-s --read-var-info=yes --track-origins=yes --fullpath-after=$(pwd) --leak-check=full --show-leak-kinds=all"
TASK_SCRIPT=cbuild/default_tasks/valgrind.sh
;;
# generates profiling info
@ -177,7 +177,7 @@ case "$TASK" in
TASK_SCRIPT=cbuild/default_tasks/clean.sh
;;
# nothing to do
no_task)
"" | no_task)
;;
# unknown task
*)