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 @@ -64,6 +64,7 @@ $tzil = Builder->from_config(
64
64
[ AutoPrereqs => { skip => ' ^DZPA::Skip' ,
65
65
configure_finder => ' :IncModules' } ],
66
66
[ MetaYAML => { version => 2 } ],
67
+ [ MetaConfig => ],
67
68
),
68
69
' source/inc/DZPA.pm' => " use DZPA::NotInDist;\n use DZPA::Configure;\n " ,
69
70
},
@@ -99,6 +100,7 @@ $tzil = Builder->from_config(
99
100
qw( GatherDir ExecDir) ,
100
101
[ AutoPrereqs => { scanner => ' Perl5' , extra_scanner => ' Aliased' } ],
101
102
[ MetaYAML => { version => 2 } ],
103
+ [ MetaConfig => ],
102
104
),
103
105
' source/lib/DZPA/Aliased.pm' => " use aliased 'Long::Class::Name';\n " ,
104
106
},
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 @@ -26,6 +26,7 @@ my $tzil = Builder->from_config(
26
26
[ ExecDir => ],
27
27
[ ShareDir => ],
28
28
' Manifest' ,
29
+ ' MetaConfig' ,
29
30
),
30
31
},
31
32
also_copy => { ' corpus/dist/DZT_Inc' => ' corpus/dist/DZT_Inc' ,
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