-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
60 lines (46 loc) · 1.15 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
require 'rake'
Dir.glob('installer/*.rb').each { |r| import r }
Dir.glob('tasks/*.rake').each { |r| import r }
task :install do
puts "dotfiles install".yellow
Install.homebrew
# git
Install.brew "git"
# zshell
Install.oh_my_zsh
# more git, # do dependency management for this atm
Install.brew "hub"
Install.brew "legit"
Install.file "gitconfig"
Install.file "gitignore"
Install.brew "ssh-copy-id"
#ruby
Install.rvm
Install.ruby "2.0.0", :default => true
# obj-c
Install.brew "mogenerator"
Install.brew "appledoc"
Install.cocoapods
end
task :install_fish do
Install.fish
end
# thinking about having a list of things installed by ths script, the uninstall here could be a little too agressive
# task :uninstall do
# puts "dotfiles uninstall".yellow
# Uninstall.file "test"
# Uninstall.homebrew
# Uninstall.brew "git"
# Uninstall.brew "hub"
# Uninstall.file "gemrc"
# Uninstall.rvm
# UnInstall.ruby "1.9.3"
# Uninstall.oh_my_zsh
# Uninstall.brew "legit"
# Uninstall.file "gitconfig"
# Uninstall.file "gitignore"
# Uninstall.brew "mogenerator"
# Uninstall.brew "ssh-copy-id"
# Uninstall.cocoapods
# end
task :default => 'install'