forked from acme/cpan-mini-webserver
-
Notifications
You must be signed in to change notification settings - Fork 8
/
dist.ini
96 lines (76 loc) · 2.88 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 = CPAN-Mini-Webserver
author = Leon Brocard <[email protected]>
author = Christian Walde <[email protected]>
license = Perl_5
;copyright_holder = Christian Walde
;copyright_year = 2011
; version provider
[Git::NextVersion] ; builds a version automatically from the last release tag
; choose files to include
[GatherDir] ; everything under top dir
include_dotfiles = 1
exclude_match = ^\.git
[PruneCruft] ; default stuff to skip
[ManifestSkip] ; if -f MANIFEST.SKIP, skip those, too
; file modifications
[OurPkgVersion] ; add $VERSION = ... to all files
[PodWeaver] ; generate Pod
config_plugin = @DAGOLDEN ; my own plugin allows Pod::WikiDoc
; generated files
[License] ; boilerplate license
[ReadmeMarkdownFromPod] ; from Pod (runs after PodWeaver)
[CopyReadmeFromBuild] ; for the repo
; t tests
[Test::Compile] ; make sure .pm files all compile
fake_home = 1 ; fakes $ENV{HOME} just in case
; xt tests
[MetaTests] ; xt/release/meta-yaml.t
[PodSyntaxTests] ; xt/release/pod-syntax.t
;[PodCoverageTests] ; xt/release/pod-coverage.t ; don't have time to document now
;[Test::Portability] ; xt/release/portability.t (of file name) ; disabled because of long filenames in the test cpan mirrors
;[Test::Kwalitee] ; xt/release/kwalitee.t ; this one wants coverage tests
[Test::Version] ; xt/release/test-version.t
; metadata
[AutoPrereqs] ; find prereqs from code
skip = ^CPAN::Test
skip = HTTP::Server::Simple::Bonjour
[MinimumPerl] ; determine minimum perl version
[GithubMeta]
[MetaNoIndex] ; sets 'no_index' in META
directory = t
directory = xt
directory = examples
directory = corpus
package = DB ; just in case
[Bugtracker] ; defaults to RT
[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
[MakeMaker] ; create Makefile.PL
; manifest (after all generated files)
[Manifest] ; create MANIFEST
; before release
[Git::Check] ; ensure all files checked in
allow_dirty = Changes
allow_dirty = dist.ini
allow_dirty = README.mkdn
[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
[NextRelease]
[Git::Commit]
allow_dirty = Changes
allow_dirty = dist.ini
allow_dirty = README.mkdn
[Git::Tag] ; tag repo with custom tag
[Git::Push] ; push repo to remote
push_to = origin