-^(?!script/|examples/|lib/|inc/|t/|Makefile.PL$|README$|MANIFEST$|Changes$|META.yml$)
+^(?!script/|examples/|lib/|inc/|t/|xt/|Makefile.PL$|README$|MANIFEST$|Changes$|META.yml$)
# Avoid version control files.
-use inc::Module::Install 0.93;
+use inc::Module::Install 0.97;
use strict;
use warnings;
use POSIX ();
}
# output twice since the deplist is > 70 lines
-warn $optdep_msg;
+warn $optdep_msg if $Module::Install::AUTHOR;
auto_install();
-warn $optdep_msg;
+warn $optdep_msg if $Module::Install::AUTHOR;
# re-create various autogenerated documentation bits
if ($Module::Install::AUTHOR) {
# PodInherit();
}
+
tests_recursive (qw|
t
|);
+# temporary(?) until I get around to fix M::I wrt xt/
+# needs Module::Install::AuthorTests
+recursive_author_tests (qw/xt/);
+
+
install_script (qw|
script/dbicadmin
|);
EOP
-
-
+homepage 'http://www.dbix-class.org/';
resources 'IRC' => 'irc://irc.perl.org/#dbix-class';
resources 'license' => 'http://dev.perl.org/licenses/';
resources 'repository' => 'git://git.shadowcat.co.uk/dbsrgits/DBIx-Class.git';
TODO: {
local $TODO = 'Do not fix those yet - we have way too many branches out there, merging will be hell';
- Test::EOL::all_perl_files_ok({ trailing_whitespace => 1}, qw/t lib script maint/);
+ Test::EOL::all_perl_files_ok({ trailing_whitespace => 1},
+ qw/t xt lib script/,
+ DBICTest::AuthorCheck->is_author ? ('maint') : (),
+ );
}
# FIXME - need to fix Test::EOL
: plan skip_all => "Test needs: $missing"
}
-Test::NoTabs::all_perl_files_ok(qw/t lib script maint/);
+Test::NoTabs::all_perl_files_ok(
+ qw/t xt lib script/,
+ DBICTest::AuthorCheck->is_author ? ('maint') : (),
+);
-# FIXME - need to fix Test::NoTabs
+# FIXME - need to fix Test::NoTabs - doesn't work with done_testing
#done_testing;