Skip to content

Commit

Permalink
feat: add Homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
YasminTeles committed Apr 7, 2024
1 parent 5c33300 commit 364fbe6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
set -e

# Print a step description
TOTAL_STEPS=7
TOTAL_STEPS=8
STEP=1
function step_msg {
printf "\033[36;1m[%s/%s] %s...\033[0m\n" "$STEP" "$TOTAL_STEPS" "$1";
Expand Down Expand Up @@ -48,6 +48,14 @@ fi

title_msg "Please wait! It will configure your workspace."

# -- Homebrew -----------------------------------------------------------------
step_msg "Installing the Homebrew"
if test ! $(which brew); then
NONINTERACTIVE=1 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
else
echo "Homebrew is already installed.";
fi

# -- Project folder -----------------------------------------------------------
step_msg "Creating the Projects folder"
mkdir ~/Projects
Expand Down

0 comments on commit 364fbe6

Please sign in to comment.