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