2014-09-05 14:03:57 -07:00
|
|
|
desc "My main computer"
|
2014-07-17 05:11:18 -07:00
|
|
|
task :io do
|
2014-09-05 14:03:57 -07:00
|
|
|
[ "update",
|
|
|
|
"pkg:osx",
|
|
|
|
"pkg:zsh",
|
|
|
|
"pkg:vim",
|
|
|
|
"pkg:emacs",
|
|
|
|
"pkg:rbenv",
|
|
|
|
"pkg:pyenv",
|
|
|
|
"pkg:love"
|
|
|
|
].each { |task| Rake::Task[task].invoke }
|
2014-07-17 05:11:18 -07:00
|
|
|
|
2014-09-05 14:03:57 -07:00
|
|
|
# Install my the mac-apps I commonly use
|
2014-08-30 23:50:03 -07:00
|
|
|
if is_mac?
|
2014-09-05 14:03:57 -07:00
|
|
|
[ "transmit",
|
|
|
|
"transmission",
|
|
|
|
"vlc",
|
|
|
|
"flux",
|
|
|
|
"skype",
|
|
|
|
"adium",
|
|
|
|
"codekit",
|
|
|
|
"mindnode-pro",
|
|
|
|
"sequel-pro",
|
|
|
|
"scrivener",
|
|
|
|
"omnigraffle",
|
2014-08-31 05:03:45 -07:00
|
|
|
|
2014-09-05 14:03:57 -07:00
|
|
|
# Quicklook plugins
|
|
|
|
"qlcolorcode",
|
|
|
|
"qlstephen",
|
|
|
|
"qlmarkdown",
|
|
|
|
"quicklook-json",
|
|
|
|
"qlprettypatch",
|
|
|
|
"quicklook-csv",
|
|
|
|
"betterzipql",
|
|
|
|
"webp-quicklook",
|
|
|
|
"suspicious-package"
|
|
|
|
].each { |app| Package.cask_install app }
|
|
|
|
end
|
|
|
|
|
|
|
|
if system("rbenv versions | grep 2.1.2 >/dev/null")
|
|
|
|
sh_safe "rbenv install 2.1.2"
|
|
|
|
sh_safe "rbenv global 2.1.2"
|
|
|
|
|
|
|
|
sh_safe "~/.rbenv/shims/gem install bundler rspec cucumber jekyll"
|
|
|
|
end
|
|
|
|
|
|
|
|
if system("pyenv versions | grep 3.4.1 >/dev/null")
|
|
|
|
sh_safe "pyenv install 3.4.1"
|
|
|
|
sh_safe "pyenv global 3.4.1"
|
|
|
|
|
|
|
|
sh_safe "~/.pyenv/shims/pip install nose cython"
|
2014-08-30 23:50:03 -07:00
|
|
|
end
|
2014-07-17 05:11:18 -07:00
|
|
|
end
|