-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdist.ini
110 lines (90 loc) · 2.02 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
108
109
110
name = DreamCatcher
author = Brad Lhotsky <[email protected]>
license = BSD
copyright_holder = Brad Lhotsky
copyright_year = 2017
[PruneCruft]
[MakeMaker]
[Manifest]
[Encoding]
encoding = bytes
match = png
[ExecDir]
dir = bin
; Prerequesites
[AutoPrereqs]
[CheckPrereqsIndexed] ; ensure prereqs are on CPAN
[Prereqs]
Mojolicious::Plugin::YamlConfig = 0
[Prereqs / TestRequires]
Pod::Coverage::TrustPod = 0
Test::Perl::Critic = 0
; authordep Pod::Weaver::Section::Contributors
; authordep Pod::Weaver::Section::Support
; authordep Pod::Weaver::Section::Collect::FromOther
; authordep Pod::Elemental::Transformer::List
[MinimumPerl]
[PkgVersion]
[MetaConfig]
[MetaJSON]
[CPANFile]
; Docs
[PodWeaver]
[ContributorsFromGit]
[License]
[InsertCopyright]
[ReadmeMarkdownFromPod]
[PodCoverageTests]
[PodSyntaxTests]
[Test::Compile]
[Test::EOL]
;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|bug fix)
; Handle Files
[CopyFilesFromBuild]
copy = README.mkdn
copy = cpanfile
[PruneFiles]
filename = dist.ini
filename = weaver.ini
filename = Ideas.mkdn
; Git stuff
[Git::GatherDir]
exclude_filename = README.mkdn
exclude_filename = META.json
exclude_filename = Changes
exclude_filename = cpanfile
[Git::NextVersion]
; get version from last release tag
version_regexp = ^release-(.+)$
[OurPkgVersion]
[Git::Check]
; ensure all files checked in
allow_dirty = dist.ini
allow_dirty = Changes
allow_dirty = README.mkdn
allow_dirty = Maintenance.mkdn
allow_dirty = Searching.mkdn
allow_dirty = CopyIndexes.mkdn
allow_dirty = META.json
[GithubMeta]
issues = 1
; 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
; Install this on release
[InstallRelease]