Permalink
Browse files

require Git.pm, now in CPAN for convenience

  • Loading branch information...
1 parent 1312200 commit 58c3600cbf2590fbc744c3557504c8cd613b38eb @briandfoy briandfoy committed Feb 28, 2011
Showing with 2 additions and 10 deletions.
  1. +2 −10 Build.PL
View
12 Build.PL
@@ -3,15 +3,6 @@ use warnings;
use Module::Build;
-unless ( eval "use Git; 1" ) {
- print "\t!!!!!!!!!! WARNING: 'Git.pm' not found. !!!!!!!!!!\n",
- "\tIt seems that you don't have Git installed on your system.\n",
- "\tGit::CPAN::Patch will not be able to work without it.\n";
-
- # prevent the smokers to test and send a report for nothing
- exit 0 if $ENV{AUTOMATED_TESTING};
-}
-
my $builder = Module::Build->new(
module_name => 'Git::CPAN::Patch',
license => 'perl',
@@ -26,7 +17,8 @@ my $builder = Module::Build->new(
'File::Path' => 0,
'File::chmod' => 0,
'CLASS' => 0,
- 'File::Temp' => '0.22',
+ 'File::Temp' => '0.22',
+ 'Git' => '1.007004',
},
configure_requires => {
'Module::Build' => 0,

0 comments on commit 58c3600

Please sign in to comment.