[Bast-commits] r8777 - in DBIx-Class/0.08/branches/dbicadmin_pod: .
t
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Sun Feb 21 11:34:11 GMT 2010
Author: ribasushi
Date: 2010-02-21 11:34:11 +0000 (Sun, 21 Feb 2010)
New Revision: 8777
Modified:
DBIx-Class/0.08/branches/dbicadmin_pod/Makefile.PL
DBIx-Class/0.08/branches/dbicadmin_pod/t/03podcoverage.t
Log:
Cleanup the makefile regen a bit
Modified: DBIx-Class/0.08/branches/dbicadmin_pod/Makefile.PL
===================================================================
--- DBIx-Class/0.08/branches/dbicadmin_pod/Makefile.PL 2010-02-21 11:08:21 UTC (rev 8776)
+++ DBIx-Class/0.08/branches/dbicadmin_pod/Makefile.PL 2010-02-21 11:34:11 UTC (rev 8777)
@@ -8,6 +8,11 @@
use FindBin;
use lib "$FindBin::Bin/lib";
+# adjust ENV for $AUTHOR system() calls
+use Config;
+$ENV{PERL5LIB} = join ($Config{path_sep}, @INC);
+
+
###
### DO NOT ADD OPTIONAL DEPENDENCIES HERE, EVEN AS recommends()
### All of them should go to DBIx::Class::Optional::Dependencies
@@ -62,17 +67,20 @@
test_requires => { %$test_requires },
};
-# re-build README and require extra modules for testing if we're in a checkout
+# autogenerate docs and require extra modules for testing if we're in a checkout
if ($Module::Install::AUTHOR) {
print "Regenerating README\n";
system('pod2text lib/DBIx/Class.pm > README');
- system('perl -Ilib ./script/dbicadmin --pod > lib/dbicadmin.pod');
+
if (-f 'MANIFEST') {
print "Removing MANIFEST\n";
unlink 'MANIFEST';
}
+ print "Regenerating dbicadmin.pod\n";
+ system('perl script/dbicadmin --pod > lib/dbicadmin.pod');
+
print "Regenerating Optional/Dependencies.pod\n";
require DBIx::Class::Optional::Dependencies;
DBIx::Class::Optional::Dependencies->_gen_pod;
Modified: DBIx-Class/0.08/branches/dbicadmin_pod/t/03podcoverage.t
===================================================================
--- DBIx-Class/0.08/branches/dbicadmin_pod/t/03podcoverage.t 2010-02-21 11:08:21 UTC (rev 8776)
+++ DBIx-Class/0.08/branches/dbicadmin_pod/t/03podcoverage.t 2010-02-21 11:34:11 UTC (rev 8777)
@@ -93,9 +93,7 @@
/]
},
- 'DBIx::Class::Admin::Types' => { skip => 1 },
- 'DBIx::Class::Admin::Descriptive' => { skip => 1 },
- 'DBIx::Class::Admin::Usage' => { skip => 1 },
+ 'DBIx::Class::Admin::*' => { skip => 1 },
'DBIx::Class::ClassResolver::PassThrough' => { skip => 1 },
'DBIx::Class::Componentised' => { skip => 1 },
'DBIx::Class::Relationship::*' => { skip => 1 },
More information about the Bast-commits
mailing list