1name    = Test2-Harness
2author  = Chad Granum <exodist@cpan.org>
3license = Perl_5
4copyright_holder = Chad Granum
5
6[RewriteVersion] ; sets dist version from main module's $VERSION
7[License]
8[ManifestSkip]
9[Manifest]
10[NextRelease]
11[GatherFile]
12filename = .yath.rc
13
14[GatherDir]
15exclude_match = ^xt/downstream      ; only run these tests locally
16exclude_match = ^pt                 ; only run these tests locally
17exclude_match = ^tt                 ; only run these tests locally
18exclude_match = ^release-scripts
19exclude_match = ^cover
20exclude_match = ^nyt
21exclude_match = ^test-logs
22exclude_match = ^t/
23exclude_match = ^t2/
24exclude_match = ^old/
25exclude_filename = LICENSE
26exclude_filename = Makefile.PL
27exclude_filename = cpanfile
28exclude_filename = cpanfile.ci
29exclude_filename = README
30exclude_filename = README.md
31exclude_filename = .yath-persist.json
32
33[Git::GatherDir / GatherDotFilesT]
34root = t/
35prefix = t/
36include_dotfiles = 1
37
38[Git::GatherDir / GatherDotFilesT2]
39root = t2/
40prefix = t2/
41include_dotfiles = 1
42
43[Run::AfterBuild]
44run = release-scripts/generate_command_pod.pl %d
45run = release-scripts/generate_options_pod.pl %d
46
47[ExecDir]
48dir = scripts
49
50[PodSyntaxTests]
51[TestRelease]
52
53[MetaResources]
54bugtracker.web  = https://github.com/Test-More/Test2-Harness/issues
55repository.url  = https://github.com/Test-More/Test2-Harness/
56repository.type = git
57
58[Prereqs]
59perl                       = 5.010000
60Test2                      = 1.302170
61Test2::API                 = 1.302170
62Test2::Event               = 1.302170
63Test2::Event::V2           = 1.302170
64Test2::Formatter           = 1.302170
65Test2::Util                = 1.302170
66Test::Builder              = 1.302170
67Test::Builder::Formatter   = 1.302170
68Test::More                 = 1.302170
69Test2::Tools::AsyncSubtest = 0.000127
70Test2::Tools::Subtest      = 0.000127
71Test2::Util::Term          = 0.000127
72Test2::V0                  = 0.000127
73Test2::Bundle::Extended    = 0.000127
74Test2::Plugin::MemUsage    = 0.002003
75Test2::Plugin::UUID        = 0.002001
76Long::Jump                 = 0.000001
77Term::Table                = 0.015
78Importer                   = 0.025
79goto::file                 = 0.005
80File::Path                 = 2.11
81List::Util                 = 1.44
82IO::Handle                 = 1.27
83Data::UUID                 = 0
84File::Find                 = 0
85Carp                       = 0
86Config                     = 0
87Cwd                        = 0
88Data::Dumper               = 0
89Exporter                   = 0
90Fcntl                      = 0
91File::Spec                 = 0
92File::Temp                 = 0
93Filter::Util::Call         = 0
94IO::Compress::Bzip2        = 0
95IO::Compress::Gzip         = 0
96IO::Uncompress::Bunzip2    = 0
97IO::Uncompress::Gunzip     = 0
98IPC::Cmd                   = 0
99JSON::PP                   = 0
100POSIX                      = 0
101Scalar::Util               = 0
102Symbol                     = 0
103Time::HiRes                = 0
104base                       = 0
105constant                   = 0
106parent                     = 0
107Sys::Hostname              = 0
108Scope::Guard               = 0
109
110[Prereqs / TestRequires]
111File::Copy = 0
112
113[Prereqs / DevelopRequires]
114Test::Spelling = 0.12   ; for xt/author/pod-spell.t
115Test2::Require::Module = 0.000127
116
117[Prereqs / RuntimeSuggests]
118JSON::MaybeXS    = 0
119Cpanel::JSON::XS = 0
120Term::ANSIColor  = 4.03
121Email::Stuffer   = 0.016
122HTTP::Tiny       = 0.070
123IO::Pager        = 1.00
124Test2::Plugin::IOEvents   = 0.001001
125HTTP::Tiny::Multipart     = 0.08
126Test2::Plugin::DBIProfile = 0.002002
127Test2::Plugin::Cover      = 0.000025
128Win32::Console::ANSI      = 0
129
130[MakeMaker::Awesome]
131:version = 0.26
132delimiter = |
133header = |use Config qw/%Config/;
134header = |die "OS unsupported\nTest2-Harness currently only works on systems that support true forking.\n"
135header = |    unless $Config{d_fork};
136header = |if ($ENV{AUTOMATED_TESTING}) {
137header = |    my $is_njh = 0;
138header = |    $is_njh ||= -d '/export/home/njh';
139header = |    $is_njh ||= -d '/home/njh';
140header = |    $is_njh ||= lc($ENV{USER} // 'na') eq 'njh';
141header = |    $is_njh ||= lc($ENV{HOME} // 'na') =~ m{njh$};
142header = |    $is_njh ||= lc($ENV{PATH} // 'na') =~ m{/njh/};
143header = |    die "OS unsupported\nNJH smokers are broken, aborting tests.\n"
144header = |        if $is_njh;
145header = |}
146
147[CPANFile]
148[MetaYAML]
149[MetaJSON]
150
151; authordep Pod::Markdown
152[ReadmeFromPod / Markdown]
153filename = lib/App/Yath.pm
154type = markdown
155readme = README.md
156
157[ReadmeFromPod / Text]
158filename = lib/App/Yath.pm
159type = text
160readme = README
161
162[CopyFilesFromBuild]
163copy = LICENSE
164copy = cpanfile
165copy = README
166copy = README.md
167copy = Makefile.PL
168
169[Git::Check]
170allow_dirty = Makefile.PL
171allow_dirty = README
172allow_dirty = README.md
173allow_dirty = cpanfile
174allow_dirty = LICENSE
175allow_dirty = Changes
176
177[Git::Commit]
178allow_dirty = Makefile.PL
179allow_dirty = README
180allow_dirty = README.md
181allow_dirty = cpanfile
182allow_dirty = LICENSE
183allow_dirty = Changes
184
185[Git::Tag]
186
187[FakeRelease]
188
189[BumpVersionAfterRelease]
190
191[Git::Commit / Commit_Changes]
192munge_makefile_pl = true
193allow_dirty_match = ^lib
194allow_dirty_match = ^scripts
195allow_dirty = Makefile.PL
196allow_dirty = README
197allow_dirty = README.md
198allow_dirty = cpanfile
199allow_dirty = LICENSE
200commit_msg = Automated Version Bump
201