1
0
Fork 0
mirror of https://github.com/rspec/rspec-metagem.git synced 2022-11-09 12:09:29 -05:00

add reset rake/git tasks

This commit is contained in:
David Chelimsky 2009-06-29 16:28:26 -04:00
parent 0f90162419
commit 4b3eaeddb3

View file

@ -65,9 +65,10 @@ Rake::RDocTask.new do |rdoc|
end
namespace :git do
[:status, :pull, :push].each do |command|
[:status, :pull, :push, :reset].each do |key|
command = key == :reset ? "reset --hard" : key.to_s
desc "git #{command} on all the repos"
task command do
task key do
["../meta","../core","../expectations", "../mocks"].each do |repo|
puts
puts "=" * 50