File: dist.ini

package info (click to toggle)
libxstring-perl 0.005-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 716 kB
  • sloc: perl: 224; makefile: 8
file content (107 lines) | stat: -rw-r--r-- 2,296 bytes parent folder | download | duplicates (2)
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
name    = XString
author  = Nicolas R <atoomic@cpan.org>
license = Perl_5
copyright_holder = cPanel, Inc.
copyright_year   = 2018

;[PPPort]

;[PkgVersion]
[OurPkgVersion]
[Test::Compile]
xt_mode = 1

[MetaTests]
[Test::NoTabs]
[PodSyntaxTests]
[Test::ReportPrereqs]
[PodWeaver]
[RunExtraTests]
[MetaJSON]

[MinimumPerlFast]
min = 5.008 ; undocumented config!
max = 5.008 ; undocumented config!

[MetaConfig]

[MetaProvides::Package]

[NextRelease]
filename = Changes

[Git::Push]
push_to = gh
push_to = gh HEAD:refs/heads/released ; also push to released branch

;[Prereqs::FromCPANfile]
;[Prereqs / RuntimeRecommends]
;[Prereqs / RuntimeRequires]
;[Prereqs / TestRecommends]
[Prereqs / TestRequires]
File::Temp                  = 0
Test::More                  = 0.87

[TestRelease]

[Test::MinimumVersion]
max_target_perl = 5.010

[@Git]
allow_dirty = Changes
allow_dirty = dist.ini
allow_dirty = README.mkdn
add_files_in = Changes
add_files_in = dist.ini
add_files_in = README.mkdn

push_to = gh
push_to = gh HEAD:refs/heads/released ; also push to released branch

[Run::BeforeBuild]
; force to refresh Makefile.PL for every build [not really necessary as we have one exclude_filename]
; run = ( test -f Makefile.PL && rm Makefile.PL ) ||:

[Run::AfterBuild]
; provide a friendly Makefile.PL in our repo
;	very useful so Travis CI can use it without installing Dist::Zilla::*
run = cp %d/Makefile.PL ./
run = git status --porcelain | grep 'M Makefile.PL' && git commit -m 'Makefile.PL auto-updated by dist.ini' Makefile.PL && echo "# Makefile.PL auto-update" || echo "# Makefile.PL up to date"

[Git::NextVersion]

[@Filter]
-bundle = @Basic
;-remove = AutoPrereqs
-remove = ExtraTests
-remove = GatherDir

[GatherDir]
exclude_filename = Makefile.PL
;exclude_filename = ppport.h

; -- static meta-information
[MetaResources]
bugtracker.web  = https://github.com/atoomic/XString/issues
repository.url  = https://github.com/atoomic/XString.git
repository.web  = https://github.com/atoomic/XString.git
repository.type = git

[PruneFiles]
match = ~$ ; emacs backup files

;[PodCoverageTests]
;[Test::EOL]

; still a work in progress
;[Test::TidyAll]
;minimum_perl = 5.010
;jobs = 1
;verbose = 1

[InsertExample]
[Test::Synopsis]
[ReadmeAnyFromPod]
type = gfm
filename = README.md
location = root