Module::Starter::AddModule - Add a new module to a distribution
# in the module-starter config plugins: Module::Starter::AddModule make: /whatever/make/you/like/dmake # from the command line # the --dist option specifies the dist directory % module-starter --module=Add::This::Module --dist=.
Module::Starter::Simple and Module::Starter::Smart (which relies on ::Simple) try to construct the MANIFEST file themselves. This is the wrong approach since it doesn't not take into account build file subclasses or MANIFEST.SKIP.
Module::Starter::Simple
Module::Starter::Smart
::Simple
Once you have the build file, let it do it's job by running its manifest target.
manifest
Furthermore, Module::Starter::Smart doesn't explicitly inherit from Module::Starter::Simple, but this module inserts the inheritance relationship for you automatically.
Overrides the create_MANIFEST in Module::Starter::Simple to use the manifest target of the build system instead of trying to create the MANIFEST file directly. It automatically figures out the build system you use.
create_MANIFEST
MANIFEST
This assumes that your make program is called make. If it's something else, such as dmake, set the make configuration. This only matters if you are using Makefile.PL.
make
dmake
Return the top-level directory for the distribution.
This source is in Github:
https://github.com/briandfoy/module-starter-addmodule/
brian d foy, <briandfoy@pobox.com>
<briandfoy@pobox.com>
Copyright © 2010-2024, brian d foy <briandfoy@pobox.com>. All rights reserved.
You may redistribute this under the terms of the Artistic License 2.0.
To install Module::Starter::AddModule, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Starter::AddModule
CPAN shell
perl -MCPAN -e shell install Module::Starter::AddModule
For more information on module installation, please visit the detailed CPAN module installation guide.