-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdist.ini
96 lines (82 loc) · 3.21 KB
/
dist.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
name = Test-MTA-Exim4
author = Nigel Metheringham <[email protected]>
copyright_holder = Nigel Metheringham
license = Perl_5
copyright_year = 2019
[AutoPrereqs]
[Prereqs]
;; -- Declare additional author deps for Dist::Zilla
; authordep Pod::Elemental::Transformer::List
; authordep Pod::Weaver::Plugin::WikiDoc
; authordep Pod::Weaver::PluginBundle::Default
; authordep Pod::Weaver::Section::Contributors
; authordep Pod::Weaver::Section::Support
[NextRelease] ; Mark up the next release in changes
[@Git]
changelog = Changes
allow_dirty = dist.ini
allow_dirty = Changes
allow_dirty = README.md
commit_msg = v%v%n%n%c
tag_format = release/%v
tag_message = %v
push_to = origin
;; -- Additional git
[Git::GatherDir]
[Git::NextVersion] ; Get the next version tag from git
version_regexp = ^release/(\d+.\d+)$
[Git::CheckFor::CorrectBranch] ; ensure on master branch for release
[Git::Remote::Check] ; ensure our branch is ahead of remote
[Git::Contributors] ; add contributors from the git logs
[Git::CommitBuild]
branch =
release_branch = cpan
;; -- Sets of additional tests we want to do as part of release
[Test::Perl::Critic]
[MetaTests]
[PodCoverageTests]
[OurPkgVersion]
[Test::Kwalitee]
[Test::EOL]
finder = :InstallModules
;;[Test::PAUSE::Permissions] ; if doing a release make sure we have PAUSE perms
;; -- Additional information
[GithubMeta] ; Grab the repo metadata
[PodWeaver] ; Mangle the pod a bit
[CheckChangeLog] ; Make sure we have a change set
[Authority]
authority = cpan:NIGELM
do_metadata = 1
locate_comment = 1
[@Starter]
-remove = GatherDir ; we use [Git::GatherDir] instead
; -- Put an autogenerated Markdown readme into the repo
[ReadmeAnyFromPod / Markdown_Readme]
type = markdown
filename = README.md
location = root ; do not include pod readmes in the build!
[Meta::Contributors]
#contributor = Fred Flintstone, <[email protected]>
contributor = Andrew Ford, <[email protected]>
;; -- Add decoration to the github readme
[GitHubREADME::Badge]
badges = travis
;badges = coveralls
;badges = gitter
badges = cpants
badges = issues
badges = github_tag
badges = license
badges = version
;badges = codecov
;badges = gitlab_ci
;badges = gitlab_cover
;; Exim only runs on Unix like systems.
;; Worse, the IPC::Run mechanism used fails on windows, even with
;; the bundled fake_exim I use for testing.
;; This means the smokers send me fail reports for something that
;; is unfixable, which makes me unhappy. So we hack things to make
;; this distribution unix only.
[AssertOS]
os = Unix
;; - end