Dist::Zilla::MintingProfile::Starter::Git - A minimal Dist::Zilla minting profile for git workflows
# setup only needs to be run once to set up your dzil config $ dzil setup $ dzil new -P Starter::Git My::New::Dist
This minting profile for dzil new creates a minimal new distribution consisting of a basic dist.ini using the [@Starter::Git] plugin bundle, a skeleton for the main module and its documentation, and a basic .gitignore. The author, license, and copyright will be populated in the dist.ini and documentation from the current dzil config.ini, which can be initialized using dzil setup. The version is initialized statically as 0.001. The directory is then initialized as a git repository using [Git::Init].
dzil new
dist.ini
config.ini
dzil setup
0.001
The Dist::Zilla::Starter guide explains how the Dist::Zilla plugin system works, and how it is specifically used for the minting process.
It's easy to create your own local version of this (or any other) minting profile which you can customize as you choose. First create a new directory in profiles in your dzil configuration folder:
profiles
$ mkdir -p ~/.dzil/profiles/myminter
Then, copy the contents from the profile you want (such as the profiles/default directory of this distribution). Modify the copied files to your liking, and then you can use it to mint a distribution.
profiles/default
$ dzil new -p myminter My::New::Dist
You can also specify a default provider (-P option) or profile (-p option) in your dzil config (~/.dzil/config.ini).
-P
-p
~/.dzil/config.ini
; config.ini [%Mint] profile = myminter ; or [%Mint] provider = Starter::Git $ dzil new My::New::Dist # now uses the specified provider and/or profile
If no provider or profile is configured or specified, dzil new will use the default local profile, or the default [@Basic] profile shipped with Dist::Zilla.
default
[@Basic]
Report any issues on the public bugtracker.
Dan Book <dbook@cpan.org>
This software is Copyright (c) 2018 by Dan Book.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
Dist::Zilla, Dist::Zilla::PluginBundle::Starter::Git, Dist::Zilla::MintingProfile::Starter
To install Dist::Zilla::PluginBundle::Starter::Git, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::PluginBundle::Starter::Git
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::PluginBundle::Starter::Git
For more information on module installation, please visit the detailed CPAN module installation guide.