-
Notifications
You must be signed in to change notification settings - Fork 27
/
dist.ini
107 lines (93 loc) · 2.24 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
97
98
99
100
101
102
103
104
105
106
107
name = App-ElasticSearch-Utilities
author = Brad Lhotsky <brad@divisionbyzero.net>
license = BSD
copyright_holder = Brad Lhotsky
[PruneCruft]
[MakeMaker]
[Manifest]
[ExecDir]
dir = scripts
; Documentation
[PodWeaver]
[ContributorsFromGit]
[License]
[InsertCopyright]
[ReadmeMarkdownFromPod]
[ReadmeAnyFromPod / Searching]
filename = Searching.mkdn
source_filename = scripts/es-search.pl
location = root
type = markdown
[ReadmeAnyFromPod / Maintenance]
filename = Maintenance.mkdn
source_filename = scripts/es-daily-index-maintenance.pl
location = root
type = markdown
[ReadmeAnyFromPod / CopyIndexes]
filename = CopyIndexes.mkdn
source_filename = scripts/es-copy-index.pl
location = root
type = markdown
[CopyFilesFromBuild]
copy = README.mkdn
copy = cpanfile
[GitHub::Meta]
repo = es-utils
[MetaJSON]
[MetaYAML]
[MetaConfig]
[MinimumPerl]
[CPANFile]
;Changelog
[ChangelogFromGit]
max_age = 730
tag_regexp = ^release-(\d.*)
file_name = Changes
wrap_column = 80
copy_to_root = 0
exclude_message = ^(v\d\.\d|Archive|Merge pull request|Github:)
; Testing
[Test::EOL]
[Test::NoTabs]
[PodCoverageTests]
[PodSyntaxTests]
[Test::Perl::Critic]
[Test::Compile]
fake_home = 1
[RunExtraTests]
[CheckExtraTests]
; Prerequesites
[AutoPrereqs]
[CheckPrereqsIndexed] ; ensure prereqs are on CPAN
; authordep Pod::Weaver::Section::Contributors
; authordep Pod::Weaver::Section::Support
; authordep Pod::Weaver::Section::Collect::FromOther
; authordep Pod::Elemental::Transformer::List
; authordep Test::Perl::Critic
; authordep Perl::Critic::Nits
; Git stuff
[Git::GatherDir]
exclude_filename = README.mkdn
exclude_filename = cpanfile
[Git::NextVersion] ; get version from last release tag
version_regexp = ^release-(.+)$
[OurPkgVersion]
[Git::Check] ; ensure all files checked in
allow_dirty = cpanfile
allow_dirty = dist.ini
allow_dirty = README.mkdn
allow_dirty = Maintenance.mkdn
allow_dirty = Searching.mkdn
allow_dirty = CopyIndexes.mkdn
allow_dirty = weaver.ini
; Commit handling / Release?
[ConfirmRelease]
[TestRelease]
[UploadToCPAN]
[Git::Commit / Commit_Dirty_Files]
[Git::Tag]
tag_format = release-%v
[NextRelease]
[Git::Commit / Commit_Changes] ; commit Changes (for new dev)
[Git::Push] ; push repo to remote
push_to = origin