Browse files

Rakefile: Do not be that much verbose and synchronise submodules urls.

  • Loading branch information...
1 parent d815b46 commit 2a07d9c699b8b970066ec527e7c5c8f9c333814f @kalbasit kalbasit committed Nov 10, 2011
Showing with 11 additions and 4 deletions.
  1. +11 −4 Rakefile
View
15 Rakefile
@@ -45,10 +45,17 @@ task :folders do
end
task :update do
- sh "git clean -xdf --exclude=custom -- vimius"
- sh "git pull"
- sh "git submodule init"
- sh "git submodule update"
+ puts "Cleaning the viminius folder"
+ `git clean -xdf --exclude=custom -- vimius &> /dev/null`
+
+ puts "Pulling latest changes"
+ `git pull &> /dev/null`
+
+ puts "Synchronising submodules urls"
+ `git submodule sync &> /dev/null`
+
+ puts "Updating the submodules"
+ `git submodule update --init &> /dev/null`
end
task :install => [:folders, :link_vim_conf_files] do

0 comments on commit 2a07d9c

Please sign in to comment.