Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (15 sloc) 414 Bytes
desc "Update buildsupport submodule"
task :update_buildsupport do
#Go update the buildsupport submodule so it's always current.
Dir.chdir("buildsupport") do
puts "*** Updating buildsupport..."
begin
sh 'git fetch'
sh 'git checkout master'
sh 'git rebase origin/master'
puts "*** Buildsupport updated."
rescue
puts "*** Error updating submodule"
end
end
end
Something went wrong with that request. Please try again.