#!/bin/zsh -Ndefgku
#
# script/bootstrap
# mas
#
# Installs dependencies for script/format & script/lint.
#
# Usage: bootstrap [<brew-bundle-install-argument>...]
#

. "${0:a:h}/_setup_script"

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 "${@}"
