summaryrefslogtreecommitdiff
path: root/Build.PL
diff options
context:
space:
mode:
Diffstat (limited to 'Build.PL')
-rw-r--r--Build.PL9
1 files changed, 8 insertions, 1 deletions
diff --git a/Build.PL b/Build.PL
index b314bd0..bd33bf0 100644
--- a/Build.PL
+++ b/Build.PL
@@ -4,7 +4,11 @@ use strict;
use warnings;
use Module::Build;
-my $build = Module::Build->new(
+my $build = Module::Build->subclass(
+ code => q(
+ sub ACTION_testauthor { shift->generic_tast(type => 'author') }
+ )
+)->new(
build_requires => {
'Test::More' => 0,
'Test::Compile' => 0,
@@ -24,5 +28,8 @@ my $build = Module::Build->new(
'Term::Size' => 0,
},
script_files => 'bin/',
+ test_types => {
+ author => '.at',
+ },
);
$build->create_build_script();