-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathRakefile
44 lines (41 loc) · 1.28 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
require 'rake'
Dir["./lib/*.rb"].each {|file| require file }
os = detect_os
desc "Default task to install dotfiles, Will ask question reguarding brewcask and brewmas app installations"
task :default do
case os
when :macosx
puts "Running MacOSX Development system Bootstrap sequence..."
install_components
when :linux
raise NotImplementedError, 'Not Implemented Sorry!'
else
print "Sorry not currently supported!"
end
end
namespace :install do
desc "Install all the dofiles magic, brewcask and brewmas will be installed without question"
task :all do
case os
when :macosx
puts "Running MacOSX Development system Bootstrap sequence..."
install_components({brewmas: true, brewcask: true})
when :linux
raise NotImplementedError, 'Not Implemented Sorry!'
else
print "Sorry not currently supported!"
end
end
desc "Install the dofiles magic with only shell setup. No Brewcask or Brewmas apps will be installed."
task :shell do
case os
when :macosx
puts "Running MacOSX Development system Bootstrap sequence..."
install_components({brewmas: false, brewcask: false})
when :linux
raise NotImplementedError, 'Not Implemented Sorry!'
else
print "Sorry not currently supported!"
end
end
end