chore(install): optimize logging, speed, cleanup
- 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>
This commit is contained in:
15
install.d/74-vscode.sh
Executable file
15
install.d/74-vscode.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Description:
|
||||
# (macOS only) Install Visual Studio Code.
|
||||
#
|
||||
|
||||
# macOS only
|
||||
[[ "$DOTS_OS" != "macos" ]] && { log_skip "Not macOS"; return 0; }
|
||||
|
||||
if ! echo "$BREW_CASKS" | grep -q "^visual-studio-code$"; then
|
||||
brew install --cask visual-studio-code
|
||||
fi
|
||||
log_pass "VSCode installed"
|
||||
echo "$BREW_CASK_VERSIONS" | grep "^visual-studio-code " | log_quote
|
||||
Reference in New Issue
Block a user