Skip to content

Commit ec44b54

Browse files
committed
update Dist::Zilla plugins to avoid need for Substitute
Update [Test::CPAN::Changes] and [Test::Perl::Critic] plugins to versions we can set options on them, rather than needing to modify them afterward.
1 parent 157a736 commit ec44b54

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

dist.ini

+5-8
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,8 @@ mode = on
5454
[MojibakeTests]
5555
[PodSyntaxTests]
5656
[Test::CPAN::Changes]
57-
[Substitute / RenameTestCPANChanges]
58-
-version = 0.008
59-
file = xt/release/cpan-changes.t
60-
filename_code = s{release}{author};
57+
:version = 0.013
58+
filename = xt/author/cpan-changes.t
6159
[Test::ChangesHasContent]
6260
[Test::Compile]
6361
[Test::EOL]
@@ -66,10 +64,9 @@ filename = xt/author/kwalitee.t
6664
[Test::MinimumVersion]
6765
[Test::NoTabs]
6866
[Test::Perl::Critic]
69-
critic_config = .perlcriticrc
70-
[Substitute / VerboseCritic]
71-
file = xt/author/critic.t
72-
code = s/ x!!.*;/;/; s/(-profile)/-verbose => 8, $1/;
67+
:version = 3.002
68+
profile = .perlcriticrc
69+
verbose = 8
7370
[Test::Pod::Coverage::TrustMe]
7471
[Test::PodSpelling]
7572
[Test::Portability]

0 commit comments

Comments
 (0)