-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathRakefile
28 lines (27 loc) · 903 Bytes
/
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
desc "Copy the snippets directories into ~/.vim/snippets"
task :deploy_local do
run "rm -rf ~/.vim/snippets"
run "mkdir ~/.vim/snippets"
run "cp -r _ ~/.vim/snippets"
run "cp -r ant ~/.vim/snippets"
run "cp -r eruby ~/.vim/snippets"
run "cp -r eruby-rails ~/.vim/snippets"
run "cp -r html ~/.vim/snippets"
run "cp -r java ~/.vim/snippets"
run "cp -r javascript ~/.vim/snippets"
run "cp -r javascript-jquery ~/.vim/snippets"
run "cp -r objc ~/.vim/snippets"
run "cp -r php ~/.vim/snippets"
run "cp -r python ~/.vim/snippets"
run "cp -r ruby ~/.vim/snippets"
run "cp -r ruby-factorygirl ~/.vim/snippets"
run "cp -r ruby-rails ~/.vim/snippets"
run "cp -r ruby-rails-rjs ~/.vim/snippets"
run "cp -r ruby-rspec ~/.vim/snippets"
run "cp -r vim ~/.vim/snippets"
run "cp support_functions.vim ~/.vim/snippets"
end
def run(cmd)
puts "Executing: #{cmd}"
system cmd
end