Refactored bin script printing

Necessary to have consistent use of `printf` especially with formatting strings and new lines.

Milestone: patch
This commit is contained in:
Brooke Kuhlmann
2024-02-25 08:40:17 -07:00
parent 75d2c93e89
commit 76b193dede
15 changed files with 70 additions and 70 deletions

View File

@@ -1,14 +1,14 @@
#! /usr/bin/env bash
Installs development tooling requirements.
# Installs development tooling requirements.
printf "Installing Xcode CLI tools...\n"
printf "%s\n" "Installing Xcode CLI tools..."
xcode-select --install
printf "%s\n" "💡 ALT+TAB to view and accept Xcode license window."
read -p "Have you completed the Xcode CLI tools install (y/n)? " xcode_response
if [[ "$xcode_response" != "y" ]]; then
printf "ERROR: Xcode CLI tools must be installed before proceeding.\n"
printf "%s\n" "ERROR: Xcode CLI tools must be installed before proceeding."
exit 1
fi