Enhance install_brew_deps.sh with Brewfile support check and error handling

This commit adds a check for the availability of `brew bundle` in the `install_brew_deps.sh` script, ensuring that users are informed to update Homebrew if the command is missing. Additionally, the `macdeploycheck` formula is updated to correct the path for the script installation, aligning it with the tapped repository structure. These changes improve the robustness and user experience during the installation of Homebrew dependencies.
This commit is contained in:
David Helkowski
2026-01-23 00:13:25 +09:00
parent 0f071c8b31
commit 73a4a673fe
2 changed files with 13 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ class Macdeploycheck < Formula
version "0.1.0"
# Homebrew requires a URL stanza. Use the script shipped in this tap (file://),
# so installs always match the tapped revision.
url "file://#{File.expand_path("../../dist/macos/macdeploycheck.sh", __dir__)}"
url "file://#{File.expand_path("../dist/macos/macdeploycheck.sh", __dir__)}"
sha256 :no_check
license "MIT"