Created
September 1, 2018 07:12
-
-
Save gundamew/f904f0257938f1fe536890a153bae4ce to your computer and use it in GitHub Desktop.
Script to update Homebrew and Composer packages.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
echo "Updating Homebrew..." | |
brew update && brew upgrade && brew cleanup | |
echo "Updating Composer..." | |
composer self-update --clean-backups && composer g update && composer g dump-autoload | |
#composer g clear-cache | |
echo "Updating Vim plugins..." | |
vim +PlugUpgrade +PlugUpdate +qall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment