-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdist.ini
72 lines (65 loc) · 2.82 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
name = Dancer2-Plugin-SyntaxHighlight-Perl
license = Perl_5
author = Nick Tonkin <[email protected]>
copyright_holder = Nick Tonkin
copyright_year = 2017
[Prereqs]
perl = 5.008001
Dancer2 = 0.205002
PPI::HTML = 1.08
[Prereqs / TestRequires]
HTTP::Request::Common = 0
Path::Tiny = 0
Plack::Test = 0
Test::More = 0
Test::Pod::Coverage = 0
[RewriteVersion] ; gets the new version number to use for the build
[PodWeaver] ; builds Pod: see weaver.ini
[InsertCopyright] ; adds copyright info from config
[License] ; adds license info from config
[ReadmeFromPod] ; creates README.md from the Pod
type = markdown
[Prereqs::AuthorDeps] ; add authordeps under develop/requires in META files
[MetaProvides::Package] ; list modules provided by distro in META files
[GitHub::Meta] ; add GitHub repo info to META files
[MetaYAML] ; generate META.yml (v1.4)
[MetaJSON] ; generate META.json (v2)
[CPANFile] ; generate cpanfile
[Encoding]
encoding = bytes
match = ^examples/.*png$
[GatherDir] ; gather the files for the build
exclude_filename = dist.ini
exclude_filename = weaver.ini
[PruneCruft] ; prune standard cruft
[PruneFiles] ; prune our files
match = Dancer2-Plugin-SyntaxHighlight-Perl
[MakeMaker] ; build a Makefile.PL that uses ExtUtils::MakeMaker
[Manifest] ; create a Manifest file
[CheckChangesHasContent] ; ensure Changes File has been updated
[Git::Check] ; check that everything is committed except generated files
allow_dirty = dist.ini
allow_dirty = Changes
allow_dirty = cpanfile
allow_dirty = README.md
[TestRelease] ; ensure t/ tests pass
[ConfirmRelease] ; prompt before uploading
[UploadToCPAN] ; uploads to CPAN
;[FakeRelease] ; fake release (do nothing)
; after release
[Git::Commit / Commit_Dirty_Files] ; commit generated/munged files (as released)
[Git::Tag] ; tag repo in Git 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] ; update Changes file
[BumpVersionAfterRelease] ; update source code with *next* Version number
[Git::Commit / Commit_Changes] ; commit Changes and version numbers ready for new work
allow_dirty_match = ^lib/
commit_msg = Update Changes and $VERSION
[Git::Push] ; push to Git
push_to = origin
; END