build script: Automatically set the title of the terminal window

This commit is contained in:
Starbeamrainbowlabs 2019-02-01 18:13:11 +00:00
parent 68b86a2f91
commit f3addb3a93
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

4
build
View file

@ -94,7 +94,7 @@ function task_setup-dev {
function task_database { function task_database {
task_begin "Connecting to the database"; task_begin "Connecting to the database";
set-title "Database";
ssh -TN "${database_host}" -L 3306:localhost:3306 & ssh -TN "${database_host}" -L 3306:localhost:3306 &
ssh_pid=$!; ssh_pid=$!;
sleep 1; sleep 1;
@ -143,6 +143,8 @@ function task_client {
} }
function task_client-watch { function task_client-watch {
set-title "Client Watcher";
echo -e "Watching for changes."; echo -e "Watching for changes.";
while :; do # : = infinite loop while :; do # : = infinite loop
# Wait for an update # Wait for an update