Skip to content

Commit

Permalink
script/bootstrap: install Homebrew if not already installed.
Browse files Browse the repository at this point in the history
Partial #638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
  • Loading branch information
rgoldberg committed Dec 5, 2024
1 parent 8c39c3f commit a3354bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -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 "${@}"

0 comments on commit a3354bd

Please sign in to comment.