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

add git status task for all repos

This commit is contained in:
David Chelimsky 2009-06-29 14:08:54 -04:00
parent f8d94c745d
commit 2ea542f787

View file

@ -55,3 +55,15 @@ Rake::RDocTask.new do |rdoc|
rdoc.rdoc_files.include('lib/**/*.rb')
end
namespace :git do
"git status on all the repos"
task :status do
["../core","../expectations", "../mocks"].each do |repo|
puts
puts "*" * 50
puts "git status of #{repo}:"
puts `cd #{repo} && git status`
puts "*" * 50
end
end
end