Move Brewfile to .Brewfile.

This commit is contained in:
Scott Wallace 2016-03-16 16:51:24 +00:00
parent d5c8157f57
commit d4bb13ac5d
2 changed files with 2 additions and 2 deletions

View file

View file

@ -48,7 +48,7 @@ function install_Darwin_software {
# Run brew bundle if there's a newer version of Brewfile # Run brew bundle if there's a newer version of Brewfile
#------------------------------- #-------------------------------
if [ ~/Brewfile -nt ~/.Brewfile.updated ]; then if [ ~/Brewfile -nt ~/.Brewfile.updated ]; then
( cd ~ && brew bundle && touch ~/.Brewfile.updated ) ( brew bundle --global && touch ~/.Brewfile.updated )
fi fi
#------------------------------- #-------------------------------
@ -57,7 +57,7 @@ function install_Darwin_software {
#------------------------------- #-------------------------------
brew upgrade brew upgrade
brew cleanup brew cleanup
( cd ~ && brew bundle check ) || ( cask-upgrade -y && cask-tidy ) ( brew bundle --global check ) || ( cask-upgrade -y && cask-tidy )
brew cask cleanup brew cask cleanup
#------------------------------- #-------------------------------
} }