mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-11-22 01:37:14 +01:00
really update everything
This commit is contained in:
parent
6c1a57b4b1
commit
59f126caee
@ -12,26 +12,22 @@
|
||||
# -------------
|
||||
|
||||
echo "$(tput setaf 136)"
|
||||
echo " Update Homebrew "
|
||||
echo "============================================="
|
||||
echo "Update Homebrew "
|
||||
echo "=============================="
|
||||
echo "$(tput sgr0)" # reset
|
||||
|
||||
brew update
|
||||
brew upgrade
|
||||
brew cleanup
|
||||
|
||||
echo "$(tput setaf 64)" # green
|
||||
echo "---------------------------------------------"
|
||||
echo " ✓ done"
|
||||
echo "$(tput sgr0)" # reset
|
||||
|
||||
#
|
||||
# npm
|
||||
# -------------
|
||||
|
||||
echo "$(tput setaf 136)"
|
||||
echo " Update npm "
|
||||
echo "============================================="
|
||||
echo "Update npm "
|
||||
echo "============================="
|
||||
echo "$(tput sgr0)" # reset
|
||||
|
||||
# update npm itself
|
||||
@ -41,42 +37,41 @@ npm install npm -g
|
||||
#npm update -g
|
||||
sh npm-upgrade.sh
|
||||
|
||||
echo "$(tput setaf 64)" # green
|
||||
echo "---------------------------------------------"
|
||||
echo " ✓ done"
|
||||
echo "$(tput sgr0)" # reset
|
||||
|
||||
#
|
||||
# Ruby
|
||||
# -------------
|
||||
|
||||
echo "$(tput setaf 136)"
|
||||
echo " Update rvm "
|
||||
echo "============================================="
|
||||
echo "Update rvm "
|
||||
echo "============================="
|
||||
echo "$(tput sgr0)" # reset
|
||||
|
||||
# update rvm itself
|
||||
rvm get latest
|
||||
rvm get stable
|
||||
rvm reload
|
||||
|
||||
# update all gemsets
|
||||
rvm gemset update
|
||||
|
||||
# cleanup
|
||||
rvm cleanup all
|
||||
|
||||
echo "$(tput setaf 64)" # green
|
||||
echo "---------------------------------------------"
|
||||
echo " ✓ done"
|
||||
echo "$(tput sgr0)" # reset
|
||||
|
||||
#
|
||||
# Gems
|
||||
# -------------
|
||||
|
||||
echo "$(tput setaf 136)"
|
||||
echo " Update gems "
|
||||
echo "============================================="
|
||||
echo "Update gems "
|
||||
echo "=============================="
|
||||
echo "$(tput sgr0)" # reset
|
||||
|
||||
gem update --system
|
||||
gem update
|
||||
|
||||
|
||||
|
||||
echo "$(tput setaf 64)" # green
|
||||
echo "---------------------------------------------"
|
||||
echo " ✓ done"
|
||||
echo "-------------------------------"
|
||||
echo " ✓ all done"
|
||||
echo "$(tput sgr0)" # reset
|
Loading…
Reference in New Issue
Block a user