Bring dzil config in line with HTML::FormFu
Transfered to using @Starter as base
Nigel Metheringham
7 years ago
21 | 21 | [Prereqs / DevelopRequires] |
22 | 22 | Test::Pod = 0 |
23 | 23 | |
24 | [MetaNoIndex] | |
25 | directory = examples | |
26 | directory = t | |
27 | directory = t-aggregate | |
28 | directory = xt | |
29 | ||
24 | ;; -- | |
25 | ;; -- Sets of additional tests we want to do as part of release | |
30 | 26 | [Test::Perl::Critic] |
31 | [MetaJSON] | |
32 | 27 | [MetaTests] |
33 | 28 | ;; [PodCoverageTests] ; Currently we comprehensively fail these |
34 | [PodSyntaxTests] | |
35 | 29 | [OurPkgVersion] |
36 | 30 | [PodVersion] |
37 | 31 | [Test::Kwalitee] |
38 | 32 | [Test::EOL] |
33 | finder = :InstallModules ; prevents test inputs being flagged | |
39 | 34 | [Test::PAUSE::Permissions] ; if doing a release make sure we have PAUSE perms |
40 | 35 | |
41 | [Git::NextVersion] | |
42 | [Git::CheckFor::CorrectBranch] ; ensure on master branch | |
43 | [Git::Remote::Check] | |
36 | ;; -- Additional information | |
37 | [GithubMeta] ; Grab the repo metadata | |
38 | [NextRelease] ; Mark up the next release in changes | |
44 | 39 | |
45 | [Repository] | |
40 | ;; -- Additional git | |
41 | [Git::GatherDir] | |
42 | [Git::NextVersion] ; Get the next version tag from git | |
43 | [Git::CheckFor::CorrectBranch] ; ensure on master branch for release | |
44 | [Git::Remote::Check] ; ensure our branch is ahead of remote | |
46 | 45 | |
47 | [NextRelease] | |
48 | format = %v %{yyyy-MM-dd}d | |
46 | ;; -- We base the release stuff on the starter module, and tweak a bit | |
47 | [@Starter] | |
48 | -remove = GatherDir ; this is replaced by [Git::GatherDir] | |
49 | ReadmeAnyFromPod.source_filename = lib/HTML/FormFu/Model/DBIC.pm | |
50 | ||
51 | [ReadmeAnyFromPod / Pod_Readme] | |
52 | type = pod | |
53 | location = root ; do not include pod readmes in the build! | |
49 | 54 | |
50 | ; This keeps github happier by putting a README.pod into the repo | |
51 | [ReadmeAnyFromPod / ReadmePodInRoot] | |
52 | type = pod | |
53 | filename = README.pod | |
54 | location = root | |
55 | ||
56 | [@Basic] | |
57 | 55 | [@Git] |
56 | changelog = Changes | |
58 | 57 | allow_dirty = dist.ini |
59 | 58 | allow_dirty = README.pod |
60 | 59 | allow_dirty = Changes |
60 | commit_msg = v%v%t - %d%n%n%c | |
61 | tag_format = v%v%t ; see Git::Tag | |
62 | tag_message = v%v%t - %d ; see Git::Tag⏎ |