mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 16:24:32 +00:00
- Add build-context helper to copy Docker context safely (ignore runtime data, keep symlinks) - Update UI and core actions to use ~/.prole/build and shared copy helper - Add/adjust tests and scripts; introduce knoe ops helpers and update manifests Co-authored-by: Junie <junie@jetbrains.com>
18 lines
469 B
Bash
18 lines
469 B
Bash
#!/bin/bash
|
|
# Prole Installer: Homebrew
|
|
# Ensures Homebrew is present and up to date on macOS
|
|
|
|
set -euo pipefail
|
|
|
|
echo "[prole] Checking Homebrew..."
|
|
if ! command -v brew >/dev/null 2>&1; then
|
|
echo "[prole] Installing Homebrew..."
|
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
else
|
|
echo "[prole] Homebrew present; updating taps and packages..."
|
|
brew update
|
|
brew upgrade || true
|
|
fi
|
|
|
|
echo "[prole] Homebrew OK"
|