diff options
author | Graham TerMarsch <graham@howlingfrog.com> | 2020-12-30 13:56:17 -0800 |
---|---|---|
committer | Graham TerMarsch <graham@howlingfrog.com> | 2020-12-30 21:19:00 -0800 |
commit | 4bb99f216d00da4e7ec325040e98284c768837d3 (patch) | |
tree | 1bb073d81d6c7caa84e645114a28cebd2a8b4b05 | |
parent | 8c8f2a65701b5493495512c6646d53fcf1fcefc5 (diff) |
Use DZil Author Bundle.
Rather than listing all of the `Dist::Zilla` config separately for each
of the Distributions that I manage, just roll it all into an Author
Bundle and use that.
-rw-r--r-- | .github/workflows/perl-ci.yml | 11 | ||||
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | dist.ini | 45 |
3 files changed, 8 insertions, 49 deletions
diff --git a/.github/workflows/perl-ci.yml b/.github/workflows/perl-ci.yml index b3d9830..cfc45ed 100644 --- a/.github/workflows/perl-ci.yml +++ b/.github/workflows/perl-ci.yml @@ -15,18 +15,11 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Install Dist::Zilla + - name: Install CPM + Dist::Zilla Author Bundle uses: perl-actions/install-with-cpm@stable with: sudo: false - install: | - Dist::Zilla - Dist::Zilla::Plugin::Prereqs::FromCPANfile - Dist::Zilla::Plugin::Test::MinimumVersion - Dist::Zilla::Plugin::ReadmeAnyFromPod - Dist::Zilla::Plugin::EnsureChangesHasContent - Dist::Zilla::Plugin::BumpVersionAfterRelease - Dist::Zilla::Plugin::Git + install: Dist::Zilla::PluginBundle::Author::GTERMARS - name: Install dependencies run: cpm install -g --no-test --show-build-log-on-failure $(dzil listdeps --author --missing) @@ -2,6 +2,7 @@ Revision history for Perl extension CSS::Minifier::XS. {{$NEXT}} - POD spelling fixes + - Switch to DZil Author Bundle 0.10 2020-12-28 11:00:17-08:00 America/Vancouver - RT #90879; correct minification of %s in "hsl()" and "hsla()" functions @@ -3,44 +3,9 @@ author = Graham TerMarsch <cpan@howlingfrog.com> license = Perl_5 copyright_holder = Graham TerMarsch -[@Filter] --bundle = @Basic --remove = Readme --remove = GatherDir +; Skip files in "css/" sub-directory, when looking for Test Files +[FileFinder::ByName / :TestFiles] +dir = t +skip = css -[GatherDir] -exclude_filename = dist.ini - -[ReadmeAnyFromPod / ReadmeGfmInRoot] -[ReadmeAnyFromPod / ReadmeInDist] -[Prereqs::FromCPANfile] - -[PodSyntaxTests] -[PodCoverageTests] -[Test::MinimumVersion] - -[MetaResources] -bugtracker.web = https://github.com/bleargh45/CSS-Minifier-XS/issues -repository.web = https://github.com/bleargh45/CSS-Minifier-XS -repository.url = https://github.com/bleargh45/CSS-Minifier-XS.git -repository.type = git - -[MetaJSON] - -[RewriteVersion] - -[EnsureChangesHasContent] -[NextRelease] - -; Commit updates to "Changes" -[Git::Commit / Commit_Changes] -commit_msg = Release v%V - -; Tag the release -[Git::Tag] - -; Bump version, and commit that -[BumpVersionAfterRelease] -[Git::Commit / Commit_Next_Version] -allow_dirty_match = ^lib/ -commit_msg = Version bump. +[@Author::GTERMARS] |