Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Commit

Permalink
Rakefile: Do not be that much verbose and synchronise submodules urls.
Browse files Browse the repository at this point in the history
  • Loading branch information
kalbasit committed Nov 10, 2011
1 parent d815b46 commit 2a07d9c
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a07d9c

Please sign in to comment.