oglimmer/fulgens

View on GitHub
classes/phase/wait.tmpl

Summary

Maintainability
Test Coverage
# waiting for ctrl-c
echo "*************************************************************"
echo "**** SCRIPT COMPLETED, STARTUP IN PROGRESS ******************"
if [ "$TAIL" == "YES" ]; then
  echo "{{accessUrl}}"
  echo "**** now tailing log: $tailCmd"
  $tailCmd
else
  echo "{{accessUrl}}"
  echo "$tailCmd"
  echo "<return> to rebuild, ctrl-c to stop {{ cleanupBuilder.componentsCode|map('componentName')|join(', ') }}"
  while true; do
    read </dev/tty
    f_build
    f_deploy
  done
fi