From 2ea542f787ecd6a18307e46133b26c29e0aee4fb Mon Sep 17 00:00:00 2001 From: David Chelimsky Date: Mon, 29 Jun 2009 14:08:54 -0400 Subject: [PATCH] add git status task for all repos --- Rakefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Rakefile b/Rakefile index eea22c71..4f4feb41 100644 --- a/Rakefile +++ b/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