-
-
09 Jan 2022 03:59:19 UTC
- Distribution: Module-Starter-AddModule
- Module version: 1.008
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (2)
- Testers (321 / 0 / 1)
- Kwalitee
Bus factor: 1- 46.25% Coverage
- License: artistic_2
- Perl: v5.10.0
- Activity
24 month- Tools
- Download (9.04KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Distribution::Guess::BuildSystem
- Module::Starter
- Module::Starter::Simple
- Module::Starter::Smart
- parent
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Module::Starter::AddModule - Add a new module to a distribution
SYNOPSIS
# 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=.
DESCRIPTION
Module::Starter::Simple
andModule::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
manifest
target.Furthermore,
Module::Starter::Smart
doesn't explicitly inherit fromModule::Starter::Simple
, but this module inserts the inheritance relationship for you automatically.- create_MANIFEST
-
Overrides the
create_MANIFEST
inModule::Starter::Simple
to use themanifest
target of the build system instead of trying to create theMANIFEST
file directly. It automatically figures out the build system you use.This assumes that your
make
program is calledmake
. If it's something else, such asdmake
, set themake
configuration. This only matters if you are using Makefile.PL. - basedir
-
Return the top-level directory for the distribution.
SEE ALSO
SOURCE AVAILABILITY
This source is in Github:
https://github.com/briandfoy/module-starter-addmodule/
AUTHOR
brian d foy,
<bdfoy@cpan.org>
COPYRIGHT AND LICENSE
Copyright © 2010-2022, brian d foy <bdfoy@cpan.org>. All rights reserved.
You may redistribute this under the terms of the Artistic License 2.0.
Module Install Instructions
To install Module::Starter::AddModule, copy and paste the appropriate command in to your terminal.
cpanm Module::Starter::AddModule
perl -MCPAN -e shell install Module::Starter::AddModule
For more information on module installation, please visit the detailed CPAN module installation guide.