Reformat package install lists

This commit is contained in:
Henrik Lissner 2014-09-01 11:31:47 -04:00
parent d3977da170
commit e0f1b4b169

View file

@ -16,32 +16,29 @@ if is_mac?
# Essentials for all macs; specific brews are placed
# in the node/*.rake files
%w{
coreutils
wget
curl
tree
git
the_silver_searcher
tmux
gist
lua
luajit
readline
openssl
node
}.each { |pkg| Package.install pkg }
[ "coreutils",
"wget",
"curl",
"tree",
"git",
"the_silver_searcher",
"tmux",
"gist",
"lua",
"readline",
"openssl",
"node"
].each { |pkg| Package.install pkg }
%w{
dropbox
appcleaner
vagrant
virtualbox
growlnotify
iterm2
java
launchbar
}.each { |app| Package.cask_install app }
[ "dropbox",
"appcleaner",
"vagrant",
"virtualbox",
"growlnotify",
"iterm2",
"java",
"launchbar"
].each { |app| Package.cask_install app }
echo "Homebrew is installed. Moving on."
end
@ -61,13 +58,18 @@ elsif is_linux?
namespace :aptitude do
task :setup do
# TODO Setup default linux package
end
task :update => 'aptitude:setup' do
echo "Updating packages..."
Package.update
[ "git",
"tmux",
"curl",
"ruby2.0",
"rake"
].each { |pkg| Package.install pkg }
end
task :update => 'aptitude:setup'
end
end