package and script updates

This commit is contained in:
Noah Masur
2021-04-28 08:58:14 -04:00
parent 5d04fad4c9
commit c81827ef95
13 changed files with 63 additions and 12 deletions

16
scripts/brews Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
DOTS=$(dirname "$0")/..
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 ✓"
}
all_brews