File tree Expand file tree Collapse file tree 8 files changed +18
-7
lines changed Expand file tree Collapse file tree 8 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ $tzil = Builder->from_config(
65
65
[ AutoPrereqs => { skip => ' ^DZPA::Skip' ,
66
66
configure_finder => ' :IncModules' } ],
67
67
[ MetaYAML => { version => 2 } ],
68
+ [ MetaConfig => ],
68
69
),
69
70
' source/inc/DZPA.pm' => " use DZPA::NotInDist;\n use DZPA::Configure;\n " ,
70
71
},
@@ -183,6 +184,7 @@ $tzil = Builder->from_config(
183
184
qw( GatherDir ExecDir) ,
184
185
[ AutoPrereqs => { scanner => ' Perl5' , extra_scanner => ' Aliased' } ],
185
186
[ MetaYAML => { version => 2 } ],
187
+ [ MetaConfig => ],
186
188
),
187
189
' source/lib/DZPA/Aliased.pm' => " use aliased 'Long::Class::Name';\n " ,
188
190
},
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ use YAML::Tiny;
14
14
{ version => undef },
15
15
' GatherDir' ,
16
16
[ AutoVersion => { major => 6, format => ' {{$major}}.{{$^T}}' } ],
17
+ [ MetaConfig => ],
17
18
),
18
19
},
19
20
},
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ sub new_tzil {
11
11
{
12
12
add_files => {
13
13
' source/dist.ini' =>
14
- simple_ini(qw( GatherDir ConfirmRelease FakeRelease) ),
14
+ simple_ini(qw( GatherDir ConfirmRelease FakeRelease MetaConfig ) ),
15
15
},
16
16
},
17
17
);
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ my $tzil = Builder->from_config(
27
27
{ dist_root => ' corpus/dist/DZT' },
28
28
{
29
29
add_files => {
30
- ' source/dist.ini' => simple_ini(qw< GatherDir ExtraTests AutoPrereqs> ),
30
+ ' source/dist.ini' => simple_ini(qw< GatherDir ExtraTests AutoPrereqs MetaConfig > ),
31
31
(map {; " source/xt/$_ /huffer.t" => sprintf ($generic_test , $_ ) }
32
32
@xt_types , qw( blort) )
33
33
},
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ use Test::Fatal qw(exception);
10
10
{ dist_root => ' corpus/dist/DZT' },
11
11
{
12
12
add_files => {
13
- ' source/dist.ini' => simple_ini(qw( GatherDir FakeRelease) ),
13
+ ' source/dist.ini' => simple_ini(qw( GatherDir FakeRelease MetaConfig ) ),
14
14
},
15
15
},
16
16
);
@@ -32,7 +32,8 @@ use Test::Fatal qw(exception);
32
32
[ ' @Filter' => {
33
33
bundle => ' @FakeClassic' ,
34
34
remove => ' ConfirmRelease' ,
35
- } ]
35
+ } ],
36
+ ' MetaConfig' ,
36
37
),
37
38
},
38
39
},
@@ -52,7 +53,7 @@ use Test::Fatal qw(exception);
52
53
{ dist_root => ' corpus/dist/DZT' },
53
54
{
54
55
add_files => {
55
- ' source/dist.ini' => simple_ini(qw( GatherDir FakeRelease) ),
56
+ ' source/dist.ini' => simple_ini(qw( GatherDir FakeRelease MetaConfig ) ),
56
57
},
57
58
},
58
59
);
Original file line number Diff line number Diff line change @@ -77,7 +77,8 @@ sub make_tzil {
77
77
78
78
# ---------------------------------------------------------------------
79
79
make_tzil([ ' FileFinder::ByName' => {qw( dir corpus skip archives) }],
80
- [ ' FileFinder::Filter' => {qw( finder FileFinder::ByName skip DZT) }]);
80
+ [ ' FileFinder::Filter' => {qw( finder FileFinder::ByName skip DZT) }],
81
+ [ ' MetaConfig' ]);
81
82
82
83
is_found(' FileFinder::ByName' => [qw(
83
84
corpus/DZT/README
@@ -105,6 +106,7 @@ make_tzil(
105
106
{ finder => [qw( InBin AllPerl Plugins Synopsis) ] }],
106
107
[ ' FileFinder::Filter' => NoPluginM =>
107
108
{ finder => ' AllPerl' , skip => ' Plugin/M' }],
109
+ [ ' MetaConfig' ],
108
110
);
109
111
110
112
is_found(InBin => [qw(
@@ -176,7 +178,9 @@ is_found(NoPluginM => [qw(
176
178
# ---------------------------------------------------------------------
177
179
make_tzil([ ' FileFinder::ByName' => ' Everything' ],
178
180
[ ' FileFinder::ByName' => ' EverythingButPerl' =>
179
- {skip => [qw( \.t$ (?i)\.p[lm]$ ) ]} ]);
181
+ {skip => [qw( \.t$ (?i)\.p[lm]$ ) ]} ],
182
+ [ ' MetaConfig' ],
183
+ );
180
184
181
185
is_found(Everything => [ map { $_ -> name } @dist_files ]);
182
186
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ my $tzil = Builder->from_config(
34
34
[ ExecDir => ],
35
35
[ ShareDir => ],
36
36
' Manifest' ,
37
+ ' MetaConfig' ,
37
38
),
38
39
(map {; " source/xt${_}more.t" => $generic_test }
39
40
qw( /author/ /smoke/ /release/ /) ),
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ my $tzil = Builder->from_config(
30
30
],
31
31
}
32
32
],
33
+ ' MetaConfig' ,
33
34
)
34
35
},
35
36
},
@@ -96,6 +97,7 @@ $tzil = Builder->from_config(
96
97
],
97
98
}
98
99
],
100
+ ' MetaConfig' ,
99
101
)
100
102
},
101
103
},
You can’t perform that action at this time.
0 commit comments