Skip to content

Commit

Permalink
Added common.rb for sharing rake tasks between projects
Browse files Browse the repository at this point in the history
  • Loading branch information
chadmyers committed Apr 20, 2012
1 parent ecad162 commit bb75711
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions common.rb
@@ -0,0 +1,11 @@
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..."
sh 'git fetch'
sh 'git checkout master'
sh 'git rebase origin/master'
puts "*** Buildsupport updated."
end
end

0 comments on commit bb75711

Please sign in to comment.