-
Notifications
You must be signed in to change notification settings - Fork 3
/
dist.ini
113 lines (89 loc) · 3.57 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
111
112
113
name = Dist-Zilla-Plugin-Pinto-Add
main_module = lib/Dist/Zilla/Plugin/Pinto/Add.pm
author = Jeffrey Ryan Thalhammer <jeff@stratopan.com>
copyright_holder = Jeffrey Ryan Thalhammer
copyright_year = 2015
license = Perl_5
version = 0.088
[GatherDir] ; everything under top dir
[PruneCruft] ; default stuff to skip
[ManifestSkip] ; if -f MANIFEST.SKIP, skip those, too
; file modifications
[OurPkgVersion] ; add $VERSION = ... to all files
[PodWeaver] ; generate Pod
; generated files
[License] ; boilerplate license
[ReadmeFromPod] ; from Pod (runs after PodWeaver)
[ReadmeAnyFromPod / ReadmePodInRoot]
type = markdown
filename = README.md
location = root
[Test::ReportPrereqs]
include = Pinto
; xt tests
[MetaTests] ; xt/release/meta-yaml.t
[PodSyntaxTests] ; xt/release/pod-syntax.t
[PodCoverageTests] ; xt/release/pod-coverage.t
[Test::Version] ; xt/release/test-version.t
; metadata
[AutoPrereqs] ; find prereqs from code
skip = Pinto ; ingore Pinto, the builder adds that dynamically
[Prereqs / ConfigureRequires]
Module::Build = 0.4005 ; for test_requires
File::Which = 0
[Prereqs / BuildRequires]
Module::Build = 0.4005 ; for test_requires
File::Which = 0
[Prereqs / TestRequires]
Test::More = 0.96 ; for done_testing()
; for section Support
; authordep Pod::Weaver::Section::Support
; for section Contributors
; authordep Pod::Weaver::Section::Contributors
; for section -StopWords
; authordep Pod::Weaver::Plugin::StopWords
[MinimumPerl] ; determine minimum perl version
[MetaNoIndex] ; sets 'no_index' in META
directory = t
directory = xt
directory = examples
directory = corpus
[MetaResources]
homepage = https://metacpan.org/module/Dist-Zilla-Plugin-Pinto-Add
bugtracker.web = https://github.com/thaljef/Dist-Zilla-Plugin-Pinto-Add/issues
repository.web = https://github.com/thaljef/Dist-Zilla-Plugin-Pinto-Add
repository.url = git://github.com/thaljef/Dist-Zilla-Plugin-Pinto-Add.git
repository.type = git
[MetaProvides::Package] ; add 'provides' to META files
meta_noindex = 1 ; respect prior no_index directives
[MetaYAML] ; generate META.yml (v1.4)
[MetaJSON] ; generate META.json (v2)
; build system
[ExecDir] ; include 'bin/*' as executables
[ShareDir] ; include 'share/' for File::ShareDir
[ModuleBuild] ; create Build.PL
mb_class = My::Module::Build
; manifest (after all generated files)
[Manifest] ; create MANIFEST
; before release
[Git::Check] ; ensure all files checked in
[CheckPrereqsIndexed] ; ensure prereqs are on CPAN
[CheckChangesHasContent] ; ensure Changes has been updated
[CheckExtraTests] ; ensure xt/ tests pass
[TestRelease] ; ensure t/ tests pass
[ConfirmRelease] ; prompt before uploading
; releaser
[UploadToCPAN] ; uploads to CPAN
; after release
[Git::Commit / Commit_Dirty_Files] ; commit Changes (as released)
[Git::Tag] ; tag repo with custom tag
tag_format = release-%v
; NextRelease acts *during* pre-release to write $VERSION and
; timestamp to Changes and *after* release to add a new {{$NEXT}}
; section, so to act at the right time after release, it must actually
; come after Commit_Dirty_Files but before Commit_Changes in the
; dist.ini. It will still act during pre-release as usual
[NextRelease]
[Git::Commit / Commit_Changes] ; commit Changes (for new dev)
[Git::Push] ; push repo to remote
push_to = origin