<commit_before>#!/bin/sh

source ./setup/lib.sh

export HOMEBREW_CASK_OPTS="--appdir=/Applications"

info "checking for existing homebrew install"
if test ! $(which brew)
then
  info "existing install not found, installing homebrew"
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  success "installed homebrew"
fi

info "updating homebrew"
brew update
success "updated homebrew"


info "installing homebrew bundler"
brew tap homebrew/bundle
brew bundle
success "installed homebrew bundler and Brewfile formulae"

success "finished homebrew setup"<commit_msg>update homebrew installer to symlink at time of installing the brewfile<commit_after>#!/bin/sh

source ./setup/lib.sh

export HOMEBREW_CASK_OPTS="--appdir=/Applications"

info "checking for existing homebrew install"
if test ! $(which brew)
then
  info "existing install not found, installing homebrew"
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  success "installed homebrew"
fi

info "updating homebrew"
brew update
success "updated homebrew"


info "installing homebrew bundler"
ln -sfv $HOME/.dotfiles/homebrew/Brewfile $HOME/.dotfiles/Brewfile
brew tap homebrew/bundle
brew bundle
success "installed homebrew bundler and Brewfile formulae"

success "finished homebrew setup"
{'fraction_non_alphanumeric': 0.09166040570999248, 'fraction_numerical': 0.0, 'mean_word_length': 5.373205741626794, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '765706', 'n_tokens_mistral': 422, 'n_tokens_neox': 392, 'n_words': 133}