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::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.
Once you have the build file, let it do it's job by running its
Module::Starter::Smart doesn't explicitly inherit from
Module::Starter::Simple, but this module inserts the inheritance relationship for you automatically.
Module::Starter::Simpleto use the
manifesttarget of the build system instead of trying to create the
MANIFESTfile directly. It automatically figures out the build system you use.
This assumes that your
makeprogram is called
make. If it's something else, such as
dmake, set the
makeconfiguration. This only matters if you are using Makefile.PL.
Return the top-level directory for the distribution.
This source is in Github:
brian d foy,
Copyright (c) 2010-2014, brian d foy, All Rights Reserved.
You may redistribute this under the same terms as Perl itself.