Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (56 sloc) 1.7 KB
dep 'star' do
requires 'osx essential applications',
'development tools',
'rvm with rubies',
'babushka-deps'
end
dep 'osx essential applications' do
requires '1Password.app',
'Caffeine.app',
'Dropbox.app',
'Google Chrome.app',
'LaunchBar.app',
'SizeUp.app'
end
dep 'development tools' do
requires 'public keys',
'github',
'TextMate.app',
'homebrew',
'oh-my-zsh',
'dot-files',
'iTerm.app',
'solarized'
end
dep 'solarized' do
met? {"~/Code/github/altercation/solarized".p.exists?}
meet {
login_shell('mkdir -p ~/Code/github/quamen') unless ' ~/Code/github/quamen'.p.exists?
git 'git://github.com/altercation/solarized.git', :to => '~/Code/github/quamen/solarized'
}
end
dep 'babushka-deps' do
met? {"~/.babushka/deps".p.exists? }
meet {
login_shell('mkdir -p ~/Code/github/quamen') unless ' ~/Code/github/quamen'.p.exists?
git 'git@github.com:quamen/babushka-deps.git', :to => '~/Code/github/quamen/babushka-deps'
login_shell('ln -s ~/Code/github/quamen/babushka-deps ~/.babushka/deps')
}
end
dep 'dot-files' do
requires 'git'
met? { "~/Code/github/quamen/dot-files".p.exists? }
meet {
login_shell('mkdir -p ~/Code/github/quamen') unless ' ~/Code/github/quamen'.p.exists?
git 'git@github.com:quamen/dot-files.git', :to => '~/Code/github/quamen/dot-files'
in_dir('~/Code/github/quamen/dot-files') do
shell('./clone_and_link.sh')
end
}
end
dep 'public keys' do
met? { "~/.ssh/id_rsa.pub".p.exists? }
meet {
shell("echo '\n' | ssh-keygen -t rsa -C '#{var(:email)}' -N '#{var(:phrase)}'")
}
end