added project name printing
This commit is contained in:
parent
92de4ab1d7
commit
73b8afd7ce
@ -15,6 +15,7 @@ function call_task {
|
||||
TASK="$1"
|
||||
source cbuild/init.sh
|
||||
myprint "${CYAN}===========[$TASK]==========="
|
||||
myprint "${WHITE}project: ${CYAN}$PROJECT"
|
||||
try_exec_script "$PRE_TASK_SCRIPT"
|
||||
exec_script "$TASK_SCRIPT"
|
||||
try_exec_script "$POST_TASK_SCRIPT"
|
||||
|
||||
3
init.sh
3
init.sh
@ -46,9 +46,12 @@ if [ ! -f current.config ]; then
|
||||
myprint "${YELLOW}New config created from the default.\nEdit it."
|
||||
exit
|
||||
fi
|
||||
|
||||
myprint "${BLUE}reading ./current.config"
|
||||
source current.config
|
||||
|
||||
myprint "${WHITE}project: ${CYAN}$PROJECT"
|
||||
|
||||
myprint "${WHITE}current.config cbuild version: ${CYAN}$CBUILD_VERSION"
|
||||
myprint "${WHITE}installed cbuild version: ${CYAN}$INSTALLED_CBUILD_VERSION"
|
||||
myprint "${WHITE}current.config version: ${CYAN}$CONFIG_VERSION"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user