diff --git a/rake/pkg/package.rake b/rake/pkg/package.rake index 6fe3a2d9..3382b7b4 100644 --- a/rake/pkg/package.rake +++ b/rake/pkg/package.rake @@ -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