Changes between Version 13 and Version 14 of Features/ProjectSkeletonGeneration


Ignore:
Timestamp:
Mar 31, 2011, 9:41:03 PM (4 years ago)
Author:
bowtie
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Features/ProjectSkeletonGeneration

    v13 v14  
    44As a first step in the direction of supporting CPAN-style Perl projects we integrated into Padre the use of Module::Starter, The intent is to make it as easy as possible for CPAN authors (and especially for first-time CPAN authors) to have installers that follow all the best practices for distribution installation, but involve as much DWIM (Do What I Mean) as possible when writing them. \\ 
    55The "bones" of every new module are basically the same: even if it's not your intention to distribute, you should still Build, new module frameworks automatically. PBP 
    6  
    7  * '''File -> New -> Perl Distribution''' will bring up a dialog box where you can select some of the parameters your new project has such 
    8 as Name of the Project (e.g. My::Widgets), Author - that is probably your name, e-mail (your e-mail). 
    9  
    10 Builder is the tool that you project is going to use to package itself and then your user will use to install the project. 
    11 Currently '''Module::Build''' and '''ExtUtils::MakeMaker''' are supported. (TO DO add Module::Install as well). 
    12  
    13 License is one of the keywords currently listed in the '''META.yml''' spec of Module::Build. (TO DO: update the list or make it dynamic) 
    14  
    15 Once you click '''OK''', Module::Starter will create a new directory called My-Widgets in the parent directory you selected in the last field. 
    16  
    176 
    187* The original, oldest module for installing modules is ExtUtils::{{{MakeMaker}}}. 
     
    2615 
    2716module-starter will look for a configuration file before reading its command line parameters. The default location is $HOME/.module-starter/config but if the MODULE_STARTER_DIR environment variable is set, module-starter will look for config in that directory. 
     17== File -> New -> Perl Distribution 
     18Will bring up a dialog box where you can select some of the parameters your new project. 
     19~~Will bring up a dialog box where you can select some of the parameters your new project has such 
     20as Name of the Project (e.g. My::Widgets), Author - that is probably your name, e-mail (your e-mail).~~ 
     21 
     22~~Builder is the tool that you project is going to use to package itself and then your user will use to install the project. 
     23Currently '''Module::Build''' and '''ExtUtils::MakeMaker''' are supported. (TO DO add Module::Install as well).~~ 
     24 
     25~~License is one of the keywords currently listed in the '''META.yml''' spec of Module::Build. (TO DO: update the list or make it dynamic)~~ 
    2826 \\ 
    2927[[Image(fnnd.png)]] 
     
    5149[[Image(license.png)]] 
    5250* Parent Directory: <the dir you wish to build your skeleton in> 
     51Once you click **OK**, Module::Starter will create a new directory in the parent directory you selected. \\ 
    5352=== Tree view of Skeleton (Vanilla) Build 
    5453{{{ 
     
    8079[[TicketQuery(component=Skeleton Generation,order=id,desc=1,format=table,col=resolution|summary|owner|reporter)]] 
    8180 
    82 == Test == 
     81== Test 
    8382 
    84 == Perl distributions and templates and running == 
     83=== Perl distributions and templates and running 
    8584 1. create a new Perl 5 distribution: "File" -> "New" -> "Perl Distribution ..." 
    8685 1. create an additional "hello, world" style Perl 5 module in the same namespace: "File" -> "New" -> "Perl 5 Module"