Dist::Zilla::Plugin::Catalyst::New - create a new catalyst project with dzil new
version 0.15
in {home}/.dzil/profiles/{profile}/profile.ini
{home}/.dzil/profiles/{profile}/profile.ini
[Catalyst::New / :DefaultModuleMaker]
this plugin is used to generate the same files Catalyst::Helper does when catalyst.pl App::Name is run.
catalyst.pl App::Name
You probably want more than just the bare minimum profile.ini, here's a more functional one. I suggest putting it in {home}/.dzil/profiles/catalyst/profile.ini
{home}/.dzil/profiles/catalyst/profile.ini
[DistINI] [Catalyst::New / :DefaultModuleMaker] [Git::Init]
Now you can run the following command to create a skeleton catalyst app.
dzil new -p catalyst MyApp
Obviously MyApp is arbitrary and can be named whatever you like.
MyApp
make_module
required see Dist::Zilla::Role::ModuleMaker
or features depending on your opinion and the nature of the issue. The following are known "issue's".
Doesn't create all the files catalyst.pl does
Some files like README, Makefile.PL and some of the tests, etc, are better generated by dzil. Use existing dzil plugins to generate these.
dzil
For all other problems use the bug tracker
Caleb Cushing <xenoterracide@gmail.com>
Tomas Doran <bobtfish@bobtfish.net>
This software is Copyright (c) 2010 by Caleb Cushing.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Dist::Zilla::Plugin::Catalyst, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::Catalyst
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::Catalyst
For more information on module installation, please visit the detailed CPAN module installation guide.