Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Do "bundle:unlock" when running "git:pull" task

Closes #5.
  • Loading branch information...
commit 888480d7fa179e0f9e01e2f0bfaec7605a7463ce 1 parent 962b3c2
@wincent wincent authored dchelimsky committed
Showing with 6 additions and 1 deletion.
  1. +6 −1 Rakefile
View
7 Rakefile
@@ -85,13 +85,18 @@ namespace :dev do
end
namespace :git do
- { :status => nil, :pull => '--rebase', :push => nil, :reset => '--hard', :diff => nil }.each do |command, options|
+ { :status => nil, :push => nil, :reset => '--hard', :diff => nil }.each do |command, options|
desc "git #{command} on all the repos"
task command => :clone do
run_command "git #{command} #{options}".strip
end
end
+ desc 'git pull on all the repos'
+ task :pull => [:clone, 'bundle:unlock'] do
+ run_command "git pull --rebase"
+ end
+
task :st => :status
task :update => :pull
Please sign in to comment.
Something went wrong with that request. Please try again.