NAME
Module::New::Recipe::Dist - create a new distribution
USAGE
From the shell/command line:
- module_new dist Module::Name
-
creates
Module-Namedirectory for the distribution, andtrunk,branches,tagsdirectories there, and also several files and tests (includinglib/Module/Name.pm) in the <Module-Name/trunk> directory.
OPTIONS
- in
-
module_new dist Module::Name --in tcreates a distribution in
t/directory, instead of the current directory. - no_dirs
-
module_new dist Module::Name --no_dirsdoesn't creates
Module-Name/trunk,Module-Name/branches,Module-Name/tagsdirectories forsubversion, and creates various files includinglib/Module/Name.pmjust under theModule-Namedirectory. - xs
-
module_new dist Module::Name --xscreates extra XS stuff like
Name.xs,Name.handppport.h(if you have installed Devel::PPPort). Also, the content oflib/Module/Name.pmchanges to load XSLoader. - make
-
module_new dist Module::Name --make=ModuleBuildby default, Module::New creates ExtUtils::MakeMaker::CPANfile-based
Makefile.PL, but with this option, you can make it to createBuild.PLto use Module::Build (set this toModuleBuildorMBfor shortcut), orMakefile.PLpowered by ExtUtils::MakeMaker (set this toMakeMaker, orEUMM). - edit
-
module_new dist Module::Name --editIf set to true, you can edit
lib/Module/Name.pmyou created.
AUTHOR
Kenichi Ishigaki, <ishigaki@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2007-2009 by Kenichi Ishigaki.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.