diff --git a/homebrew/Brewfile b/homebrew/Brewfile deleted file mode 100644 index ada1e975a..000000000 --- a/homebrew/Brewfile +++ /dev/null @@ -1,65 +0,0 @@ -# Make sure we’re using the latest Homebrew -update - -# Install GNU core utilities (those that come with OS X are outdated) -install coreutils -echo "Don’t forget to add $(brew --prefix coreutils)/libexec/gnubin to \$PATH." - -# Install GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed -install findutils - -# Install ZSH 5 -install zsh -echo "You need to sudo vim /etc/shells & add this /usr/local/bin/zsh to the end of the file. then run chsh -s /usr/local/bin/zsh" - -# Upgrade any already-installed formulae -# upgrade - -# homebrew taps taps -tap homebrew/dupes -tap homebrew/versions -tap caskroom/cask -tap caskroom/fonts -tap caskroom/versions - -# for sitespeedio -tap sitespeedio/sitespeedio -tap tobli/browsertime - -# Install formulas -install caskroom/cask/brew-cask -install wget -install z -install git -install node -install tree -install dnsmasq -install mongodb -install phantomjs -install gh -install rbenv -install rbenv-gem-rehash -install ruby-build -install the_silver_searcher -install macvim --override-system-vim --custom-icons --with-lua -install imagemagick -install nginx -install mysql -install sitespeedio -install todo-txt -install ctags - -# Python & work related stuff -install python #2.7.8 -echo "to update setuptools & pip run: pip install --upgrade setuptools pip install --upgrade pip" -install gdal #1.11.1 -install geos #3.4.2 -install postgis #2.1.4 -install postgresql #9.3.5 -install proj #4.8.0 -install elasticsearch-0.20 #0.20.6 -install libmemcached #1.0.18 -install redis - -# Remove outdated versions from the cellar -cleanup diff --git a/homebrew/Caskfile b/homebrew/Caskfile deleted file mode 100644 index ec34469c6..000000000 --- a/homebrew/Caskfile +++ /dev/null @@ -1,46 +0,0 @@ -cask install font-inconsolata-dz-for-powerline -cask install font-inconsolata -cask install font-source-code-pro -cask install font-droid-sans-mono -cask install font-meslo-lg -cask install box-sync -cask install google-chrome -cask install google-chrome-canary -cask install firefox -cask install firefox-aurora -cask install firefox-nightly -cask install webkit-nightly -cask install opera -cask install opera-next -cask install caffeine -cask install alfred -#cask install cloudapp -cask install dash -cask install spectacle -cask install imagealpha -cask install imageoptim -cask install iterm2 -cask install sequel-pro -cask install sublime-text-3 -cask install the-unarchiver -cask install sketch -cask install skype -cask install wunderlist -cask install lime-chat -cask install transmit -cask install virtualbox -cask install vlc -cask install hipchat -cask install betterzipql -cask install qlcolorcode -cask install qlmarkdown -cask install qlprettypatch -cask install qlstephen -cask install quicklook-csv -cask install quicklook-json -cask install webp-quicklook -cask install recordit -cask install transmission -cask install appcleaner -cask alfred link -echo "Put your license in Dash & Sublime. and Install Tweetbot" diff --git a/homebrew/homebrew.sh b/homebrew/homebrew.sh new file mode 100644 index 000000000..db59116b3 --- /dev/null +++ b/homebrew/homebrew.sh @@ -0,0 +1,115 @@ +# Homebrew taps +TAPS=( + homebrew/dupes + homebrew/versions + caskroom/cask + caskroom/fonts + caskroom/versions + # for sitespeedio + sitespeedio/sitespeedio + tobli/browsertime +) + +# Homebrew Formulas +FORMULAS=( + coreutils + findutils + zsh + caskroom/cask/brew-cask + wget + z + git + node + tree + dnsmasq + mongodb + phantomjs + gh + rbenv + rbenv-gem-rehash + ruby-build + the_silver_searcher + macvim --override-system-vim --custom-icons --with-lua + imagemagick + nginx + mysql + sitespeedio + todo-txt + ctags + # Python & work related stuff + python #2.7.8 + gdal #1.11.1 + geos #3.4.2 + postgis #2.1.4 + postgresql #9.3.5 + proj #4.8.0 + elasticsearch-0.20 #0.20.6 + libmemcached #1.0.18 + redis +) + +# Homebrew casks +CASKS=( + font-inconsolata-dz-for-powerline + font-inconsolata + font-source-code-pro + font-droid-sans-mono + font-meslo-lg + box-sync + google-chrome + google-chrome-canary + firefox + firefox-aurora + firefox-nightly + webkit-nightly + opera + opera-next + caffeine + alfred + #cloudapp + dash + spectacle + imagealpha + imageoptim + iterm2 + sequel-pro + sublime-text-3 + the-unarchiver + sketch + skype + wunderlist + lime-chat + transmit + virtualbox + vlc + hipchat + betterzipql + qlcolorcode + qlmarkdown + qlprettypatch + qlstephen + quicklook-csv + quicklook-json + webp-quicklook + recordit + transmission + appcleaner +) + +#================================================================================ + +brew update + +brew tap ${TAPS[@]} && brew install ${FORMULAS[@]} + +echo "to update setuptools & pip run: pip install --upgrade setuptools pip install --upgrade pip" +echo "Don’t forget to add $(brew --prefix coreutils)/libexec/gnubin to \$PATH." +echo " Changing shell...." +sudo echo "/usr/local/bin/zsh" >> /etc/shells && chsh -s /usr/local/bin/zsh + + +brew cask ${CASKS[@]} && brew cask alfred link + +echo "Put your license in Dash & Sublime. and Install Tweetbot" + +brew cleanup diff --git a/source/install b/source/install index a6a62fafe..727429a9b 100644 --- a/source/install +++ b/source/install @@ -13,12 +13,11 @@ if ! command -v brew >/dev/null; then echo "\033[0;34m------------------------------------------------------------\033[0;0m" ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" fi -brew bundle $HOME/.dotfiles/homebrew/Brewfile -brew bundle $HOME/.dotfiles/homebrew/Caskfile +sh $HOME/.dotfiles/homebrew/homebrew.sh sh $HOME/.dotfiles/node/packages.sh sh $HOME/.dotfiles/source/setup.sh -rbenv install 2.0.0p-247 && rbenv global 2.0.0p-247 +rbenv install 2.0.0 && rbenv global 2.0.0 sh $HOME/.dotfiles/ruby/gems.sh echo "\033[0;34m-------------------------------------------------------------------------------\033[0;0m"