Move Brewfile to .Brewfile.
This commit is contained in:
parent
d5c8157f57
commit
d4bb13ac5d
|
@ -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
|
||||||
#-------------------------------
|
#-------------------------------
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue