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:
parent
f8d94c745d
commit
2ea542f787
1 changed files with 12 additions and 0 deletions
12
Rakefile
12
Rakefile
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue