Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions NewMachineSetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,18 @@ update_homebrew() {
install_brewfile() {
echo "Installing packages and applications from Brewfile..."
local brew_bundle_args=(--verbose)

if [ -f "Brewfile" ] && command_exists brew; then
while IFS= read -r line; do
local tap_name
tap_name=$(echo "$line" | sed -n 's/^tap[[:space:]]*"\([^"]*\)".*/\1/p')
if [ -n "$tap_name" ]; then
brew tap "$tap_name" 2>/dev/null || true
brew trust "$tap_name" 2>/dev/null || true
fi
done < Brewfile
fi

if ! invoke_with_retry "Install Brewfile dependencies" brew bundle "${brew_bundle_args[@]}"; then
record_failure "Brewfile" "bundle_install_failed"
return 1
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ deepmerge
gql
hiyapyco
nested-lookup
sbapp[macos]
sbapp[macos]; sys_platform == 'darwin'
setuptools>=78.1.1 # not directly required, pinned by Snyk to avoid a vulnerability
bunyan

Expand Down
Loading