name    = Config-Model-Systemd
author  = Dominique Dumont
license = LGPL_2_1
copyright_holder = Dominique Dumont
copyright_year = 2008-2025

[MetaResources]
homepage          = https://github.com/dod38fr/config-model/wiki
bugtracker.mailto = ddumont at cpan.org
bugtracker.web    = https://github.com/dod38fr/config-model-systemd/issues
repository.url    = git://github.com/dod38fr/config-model-systemd.git
repository.web    = http://github.com/dod38fr/config-model-systemd
repository.type   = git

[Prereqs]
perl = 5.010

[NextRelease]
format = %v%T %{yyyy-MM-dd}d

; use 'V=2.234 dzil release' to override version number
[Git::NextVersion]

[Git::Check]
allow_dirty = dist.ini
allow_dirty = Changes

[Git::Commit]

[Git::Tag]
signed = 1

[Git::Push]

[MetaJSON]

[AutoPrereqs]
skip = ^[a-z\d]+$
skip = ExtUtils::testlib
skip = Exporter
configure_finder = ScriptFile

[Prereqs / RuntimeRequires]
[Prereqs / RuntimeRecommends]
App::Cme = 0 
Config::Model::TkUI = 0 

[Prereqs / BuildRequires]

; not detected by dzil authordep.
; See Dist::Zilla::App::Command::authordeps man page
; authordep Pod::Weaver::Section::Support
; authordep Pod::Elemental::Transformer::List
; authordep App::Cme
Config::Model = 2.118

[@Filter]
-bundle = @Basic
-remove = Readme
-remove = MakeMaker
-remove = GatherDir

[ModuleBuild::Custom]
mb_version = 0.34  

[GatherDir]
exclude_match = ^wr_root

; avoid messing with generated pod files. Otherwise pod re-generated
; at packaging time (Debian) are different (because Dist::Zilla is not
; used at that time) See
; http://blogs.perl.org/users/polettix/2011/11/distzilla-podweaver-and-bin.html
; for details on this configuration magic
[FileFinder::ByName / OnlyPmFiles]
dir = lib
match = \.pm$

[FileFinder::ByName / ScriptFile]
dir = script
match = \.pl$

[FileFinder::ByName / noModelFiles]
dir = lib
skip = /models/
match = \.p(m|od)$

[PkgVersion]
finder = OnlyPmFiles

[PodWeaver]
finder = :ExecFiles
finder = noModelFiles

[Prepender]
copyright=1

[Run::BeforeBuild]
;-- Generate pod doc from model
run = cme gen-class-pod

[Run::BeforeRelease]
run = cme gen-class-pod

[Run::Clean]
; pod files are generated in Run::BeforeBuild
run = find lib -name '*.pod' -delete

[Signature]