Refactor tests a little bit.
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / Makefile.PL
CommitLineData
a2f8d498 1use strict;
2use warnings;
3use inc::Module::Install;
4
146ec120 5if ($Module::Install::AUTHOR) {
32098147 6 system(
7 'pod2text lib/DBIx/Class/ResultSource/MultipleTableInheritance.pm > README'
8 );
9 system(
10 'pod2html lib/DBIx/Class/ResultSource/MultipleTableInheritance.pm > README.html'
11 );
146ec120 12}
13
a2f8d498 14name 'DBIx-Class-ResultSource-MultipleTableInheritance';
146ec120 15all_from 'lib/DBIx/Class/ResultSource/MultipleTableInheritance.pm';
66886c31 16
32098147 17configure_requires 'DBIx::Class' => '0.08124';
18require DBIx::Class::Optional::Dependencies;
19
20my $deploy_deps = DBIx::Class::Optional::Dependencies->req_list_for('deploy');
21
22for ( keys %$deploy_deps ) {
23 requires $_ => $deploy_deps->{$_};
24}
25
146ec120 26requires 'Carp::Clan';
27requires 'DBIx::Class';
66886c31 28requires 'Method::Signatures::Simple';
146ec120 29requires 'String::TT';
66886c31 30requires 'aliased';
31requires 'namespace::autoclean';
146ec120 32requires 'parent';
33requires 'signatures';
66886c31 34
4eaa25b5 35test_requires 'Module::Find';
36
146ec120 37auto_install;
66886c31 38WriteAll;