forked from DanBrooker/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
58 lines (44 loc) · 1 KB
/
Rakefile
File metadata and controls
58 lines (44 loc) · 1 KB
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
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.file "test"
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.file "gemrc"
Install.rvm
Install.ruby "1.9.3", :default => true
# obj-c
Install.brew "mogenerator"
Install.brew "appledoc"
Install.cocoapods
end
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'