more color tuning

This commit is contained in:
Christian Winther 2024-01-17 16:25:34 +00:00
parent 62efe8b3d4
commit ca0a25912a
2 changed files with 7 additions and 6 deletions

View file

@ -58,9 +58,9 @@ find "${ENTRYPOINT_D_ROOT}" -follow -type f -print | sort -V | while read -r fil
log-error-and-exit "File [${file}] is not executable (please 'chmod +x' it)"
fi
log-info "========================================"
log-info "Sourcing [${file}]"
log-info "========================================"
log-info "${section_message_color}========================================${color_clear}"
log-info "${section_message_color}Sourcing [${file}]${color_clear}"
log-info "${section_message_color}========================================${color_clear}"
# shellcheck disable=SC1090
source "${file}"
@ -76,9 +76,9 @@ find "${ENTRYPOINT_D_ROOT}" -follow -type f -print | sort -V | while read -r fil
log-error-and-exit "File [${file}] is not executable (please 'chmod +x' it)"
fi
log-info "========================================"
log-info "Executing [${file}]"
log-info "========================================"
log-info "${section_message_color}========================================${color_clear}"
log-info "${section_message_color}Executing [${file}]${color_clear}"
log-info "${section_message_color}========================================${color_clear}"
"${file}"
;;

View file

@ -11,6 +11,7 @@ declare -g error_message_color="\033[1;31m"
declare -g warn_message_color="\033[1;34m"
declare -g notice_message_color="\033[1;34m"
declare -g success_message_color="\033[1;32m"
declare -g section_message_color="\033[1;35m"
declare -g color_clear="\033[1;0m"
# Current and previous log prefix