- Version logged after [PASS] (not before) across all scripts - Pre-cache brew package lists with log_info progress - Read brew version from git describe cache (skip Ruby startup) - Batch mise use -g calls (single invocation for all tools) - Replace mise verify step with mise ls --current - Parallel vim plugin pulls - Skip donut compile when binary is fresh - Pre-check macOS defaults before writing (skip fsync when unchanged) - Pre-check dock state before dockutil calls - Remove redundant 'already installed' skip logs - Remove meetingbar and wispr-flow install scripts - Renumber scripts to fill gaps Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
31 lines
884 B
Bash
Executable File
31 lines
884 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Description:
|
|
# Install Azure CLI.
|
|
#
|
|
|
|
# Skip in Codespaces (project-specific tool)
|
|
[[ "$DOTS_ENV" == "codespaces" ]] && { log_skip "Codespaces"; return 0; }
|
|
|
|
if ! command -v az &>/dev/null; then
|
|
case "$DOTS_PKG" in
|
|
apt)
|
|
# https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt
|
|
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
|
|
;;
|
|
pacman)
|
|
sudo pacman -S --noconfirm azure-cli &>/dev/null
|
|
;;
|
|
brew)
|
|
brew install azure-cli
|
|
;;
|
|
*)
|
|
log_warn "Skipping Azure CLI install: no supported package manager found"
|
|
;;
|
|
esac
|
|
fi
|
|
|
|
log_pass "Azure CLI installed"
|
|
echo "$BREW_FORMULA_VERSIONS" | grep "^azure-cli " | log_quote
|