File: dist.ini

package info (click to toggle)
pinto 0.97%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,368 kB
  • ctags: 620
  • sloc: perl: 9,933; sh: 230; makefile: 4
file content (139 lines) | stat: -rw-r--r-- 4,980 bytes parent folder | download | duplicates (3)
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
name             = Pinto
main_module      = lib/Pinto.pm
author           = Jeffrey Ryan Thalhammer <jeff@stratopan.com>
copyright_holder = Jeffrey Ryan Thalhammer
copyright_year   = 2013
license          = Perl_5
version          = 0.097

[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
; t tests
[Test::Compile]     ; make sure .pm files all compile
fake_home = 1       ; fakes $ENV{HOME} just in case

[Test::ReportPrereqs]
include = DBIx::Class
include = DBD::SQLite

; xt tests
[MetaTests]         ; xt/release/meta-yaml.t
[PodSyntaxTests]    ; xt/release/pod-syntax.t
[Test::Version]     ; xt/release/test-version.t

; metadata
[AutoPrereqs]       ; find prereqs from code
skip = TestClass
skip = Pinto::Tester
skip = Pinto::Tester::Util
skip = Pinto::Server::Tester

[Prereqs / ConfigureRequires]
Module::Build               = 0.4005             ; for test_requires
Module::Build::CleanInstall = 0.05

[Prereqs / BuildRequires]
Module::Build               = 0.4005             ; for test_requires
Module::Build::CleanInstall = 0.05

[Prereqs / TestRequires]
Module::Faker::Dist         = 0.014              ; works on old perls
Apache::Htpasswd            = 0

[Prereqs / RuntimeRequires]           ; prereqs that aren't findable
DBD::SQLite                 = 1.33               ; not use`d directly
DBIx::Class                 = 0.08200            ; prefetch is fixed
Archive::Tar                = 0                  ; in case they don't have tar(1)
Archive::Extract            = 0.68               ; older versions generated some suprrious warnings
Package::Locator            = 0.010              ; respects proxy settings for the user agent
Dist::Metadata              = 0.924              ; mod_info() with checksums 
JSON::PP                    = 2.27103            ; wanted by Parse::CPAN::Meta
Module::CoreList            = 3.03               ; for modules in latest perl
Throwable::Error            = 0.200005           ; fixed memory leak
MooseX::ClassAttribute      = 0.27               ; compatible with new Moose
Authen::Simple::Passwd      = 0                  ; default authentication backend
Starman                     = 0.3014             ; the default server backend
Plack                       = 1.0028             ; detect disconnects better
Term::ANSIColor             = 2.02               ; for colorvalid()

; author prereqs (magic comments)
; authordep Pod::Weaver::Plugin::StopWords
; authordep Pod::Weaver::Plugin::Encoding
; authordep Pod::Weaver::Section::Support
; authordep Pod::Weaver::Section::Contributors

[MinimumPerl]       ; determine minimum perl version
[MetaNoIndex]       ; sets 'no_index' in META
directory = t
directory = xt
directory = etc
directory = t/lib
directory = examples
directory = corpus

[MetaResources]
homepage        = https://metacpan.org/module/Pinto
bugtracker.web  = https://github.com/thaljef/Pinto/issues
repository.web  = https://github.com/thaljef/Pinto
repository.url  = git://github.com/thaljef/Pinto.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)

[ContributorsFromGit]

; build system
[ExecDir]                ; include 'bin/*' as executables
[ShareDir]               ; include 'share/' for File::ShareDir
[ModuleBuild]            ; create Build.PL
mb_class = Pinto::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