-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdist.ini
More file actions
executable file
·140 lines (113 loc) · 4.12 KB
/
dist.ini
File metadata and controls
executable file
·140 lines (113 loc) · 4.12 KB
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
name = JIRA-REST-Class
author = Packy Anderson <packy@cpan.org>
copyright_holder = Packy Anderson
license = Artistic_2_0
main_module = lib/JIRA/REST/Class.pm
[MetaResources]
homepage = http://blogs.perl.org/users/packy_anderson/2016/12/jira-rest-class.html
bugtracker.web = https://rt.cpan.org/Public/Dist/Display.html?Name=JIRA-REST-Class
bugtracker.mailto = bug-JIRA-REST-Class@rt.cpan.org
repository.url = https://github.com/packy/JIRA-REST-Class.git
repository.web = https://github.com/packy/JIRA-REST-Class
repository.type = git
; choose files to include
[Git::GatherDir] ; everything from git ls-files
exclude_filename = Makefile
exclude_match = ^pod/.+
[Git::NextVersion]
[RewriteVersion]
skip_version_provider = true
[BumpVersionAfterRelease]
[NextRelease]
[Templates]
templates = :InstallModules
[PodWeaver]
replacer = replace_with_comment
post_code_replacer = replace_with_nothing
[Comment]
[MetaProvides::Package]
[@Git]
[PruneCruft] ; default stuff to skip
[PruneFiles]
match = ^html/.+
match = ^../html/.+
;[ManifestSkip] ; if -f MANIFEST.SKIP, skip those, too
; file modifications
[InsertCopyright] ; add copyright at "# COPYRIGHT"
; generated files
[License] ; boilerplate license
[Pod2Readme] ; from Pod (runs after PodWeaver)
; t tests
[Test::ReportPrereqs] ; show prereqs in automated test output
[Test::Inline]
; xt tests
[Test::MinimumVersion] ; xt/release/minimum-version.t
max_target_perl = 5.010 ; do not use syntax/features past 5.10
[Test::PodSpelling] ; xt/author/pod-spell.t
[Test::Perl::Critic] ; xt/author/critic.t
critic_config = testcritic.rc
[MetaTests] ; xt/release/meta-yaml.t
[PodSyntaxTests] ; xt/release/pod-syntax.t
[PodCoverageTests] ; xt/release/pod-coverage.t
[Test::Portability] ; xt/release/portability.t (of file name)
options = test_one_dot = 0
[Test::Version] ; xt/release/test-version.t
filename_match = qr{lib/JIRA/REST/Class/Version.pm}
[Test::Compile] ; xt/author/00-compile.t
fake_home = 1 ; fakes $ENV{HOME} just in case
xt_mode = 1 ; make sure all files compile
; metadata
[AutoPrereqs] ; find prereqs from code
[Prereqs]
Data::Dumper::Concise = 0
[MinimumPerl] ; determine minimum perl version
[Prereqs::AuthorDeps] ; add authordeps as develop/requires
[MetaYAML] ; generate META.yml (v1.4)
[MetaJSON] ; generate META.json (v2)
[CPANFile] ; generate cpanfile
; manifest (after all generated files)
[Manifest] ; create MANIFEST
; before release
[PromptIfStale] ; check if our build tools are out of date
module = Dist::Zilla
module = Dist::Zilla::PluginBundle::DAGOLDEN
check_all_plugins = 1
[Git::CheckFor::CorrectBranch] ; ensure on master branch
[Git::Check] ; ensure all files checked in
allow_dirty = dist.ini
allow_dirty = Changes
allow_dirty = cpanfile
[ContributorsFromGit]
;[ChangelogFromGit]
[CheckMetaResources] ; ensure META has 'resources' data
[CheckPrereqsIndexed] ; ensure prereqs are on CPAN
[CheckChangesHasContent] ; ensure Changes has been updated
[RemovePrereqs]
remove = base ; these are perl pagmas,
remove = constant ; not modules!
remove = lib
remove = overload
remove = strict
remove = utf8
remove = warnings
remove = Win32 ; I'm going to assume that any Win32 system will
remove = Win32::Process ; already have these, so they don't break unix builds
[RunExtraTests] ; ensure xt/ tests pass
[TestRelease] ; ensure t/ tests pass
[MakeMaker]
; release process
[UploadToCPAN]
[Git::CommitBuild]
; set explicitly to an empty string to cause no build contents checkin
branch =
; create branches only on releases
release_branch = releases/%b
release_message = Build results for v%v (%h on %b)
; plugins for Pod::Weaver, which don't get picked up by authordeps!
; authordep Pod::Weaver::Plugin::StopWords
; authordep Pod::Weaver::Plugin::SingleEncoding
; authordep Pod::Weaver::Section::Contributors
; plugins for Perl::Critic also don't get picked up
; authordep Perl::Critic::Tics
; authordep Perl::Critic::Policy::References::ProhibitComplexDoubleSigils
; authordep Perl::Critic::RENEEB