summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build.PL9
-rw-r--r--t/50-icli.at (renamed from t/50-icli.t)0
2 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();
diff --git a/t/50-icli.t b/t/50-icli.at
index 2e6f0c7..2e6f0c7 100644
--- a/t/50-icli.t
+++ b/t/50-icli.at