From 754c19e1391363035432f35c93cb6dee4983d6eb Mon Sep 17 00:00:00 2001 From: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> Date: Tue, 3 Dec 2024 10:05:41 -0500 Subject: [PATCH] `script/bootstrap`: install Homebrew if not already installed. Partial #638 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> --- script/bootstrap | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/bootstrap b/script/bootstrap index 2e54162d..d2178594 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -12,4 +12,8 @@ printf $'==> 👢 Bootstrapping mas %s\n' "$(script/version)" +if ! command -v brew >/dev/null; then + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" +fi + brew bundle install --verbose "${@}"