fix brewfiles

This commit is contained in:
Noah Masur 2021-05-16 18:03:18 -04:00
parent 9cf4c348ee
commit 7cf8d00663
4 changed files with 10 additions and 13 deletions

View File

@ -1,8 +1,8 @@
# Fun / Unnecessary Packages
tap "nmasur/repo"
tap "tarkah/tickrs"
brew "ffmpeg" # Convert videos
brew "nmasur/repo/bid" # Look up stock tickers
brew "nmasur/repo/bee" # Cheat on NYTimes Spelling Bee
brew "tickrs" # Interactive stock tickers
brew "ffmpeg" # Convert videos
brew "nmasur/repo/bee" # Cheat on NYTimes Spelling Bee
brew "tarkah/tickrs/tickrs" # Interactive stock tickers

View File

@ -5,7 +5,7 @@ tap "nmasur/repo"
tap "cjbassi/ytop"
brew "superfly/tap/flyctl" # Fly.io CLI
brew "haskell-stack" # Latest version of Haskell
brew "ghc" # Haskell
brew "xsv" # CSV manipulation
brew "gron" # JSON grep
brew "nushell" # Data manipulation shell

View File

@ -1,7 +1,5 @@
# Utility Packages
tap "nmasur/repo"
brew "jq" # JSON manipulation
brew "dos2unix" # File conversion
brew "tree" # Display directory trees

View File

@ -5,12 +5,11 @@ cd "$DOTS" || (echo "Directory not found: $DOTS"; exit 1)
DOTS="$PWD"
all_brews() {
for brewfile in $(find "$DOTS/homebrew" -iname "*.Brewfile")
do
/usr/local/bin/brew bundle check --file "$brewfile" \
&& /usr/local/bin/brew bundle --file "$brewfile"
done \
&& echo "all brews installed ✓"
find "$DOTS/homebrew" \
-iname "*.Brewfile" \
-exec \
/usr/local/bin/brew bundle install --file "{}" \;
echo "all brews installed ✓"
}
all_brews