File: Makefile.PL

package info (click to toggle)
libdbix-class-dynamicdefault-perl 0.04-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 172 kB
  • sloc: perl: 1,497; makefile: 2
file content (29 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use strict;
use warnings;
use inc::Module::Install;

name 'DBIx-Class-DynamicDefault';
all_from 'lib/DBIx/Class/DynamicDefault.pm';

requires 'DBIx::Class' => '0.08127';

build_requires 'DBICx::TestDatabase';

makemaker_args(depend => { dist => 'README' });
auto_provides;
extra_tests;

WriteAll;

package MY;

sub postamble {
    return <<"EOM";
testcover:
\tHARNESS_PERL_SWITCHES=-MDevel::Cover \$(MAKE) test
\tcover

README: lib/DBIx/Class/DynamicDefault.pm
\tpod2text \$< > \$@
EOM
}