Changes between Version 13 and Version 14 of Features/ProjectSkeletonGeneration
- Timestamp:
- 03/31/11 21:41:03 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Features/ProjectSkeletonGeneration
v13 v14 4 4 As 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. \\ 5 5 The "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 such8 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 17 6 18 7 * The original, oldest module for installing modules is ExtUtils::{{{MakeMaker}}}. … … 26 15 27 16 module-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 18 Will 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 20 as 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. 23 Currently '''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)~~ 28 26 \\ 29 27 [[Image(fnnd.png)]] … … 51 49 [[Image(license.png)]] 52 50 * Parent Directory: <the dir you wish to build your skeleton in> 51 Once you click **OK**, Module::Starter will create a new directory in the parent directory you selected. \\ 53 52 === Tree view of Skeleton (Vanilla) Build 54 53 {{{ … … 80 79 [[TicketQuery(component=Skeleton Generation,order=id,desc=1,format=table,col=resolution|summary|owner|reporter)]] 81 80 82 == Test ==81 == Test 83 82 84 == Perl distributions and templates and running ==83 === Perl distributions and templates and running 85 84 1. create a new Perl 5 distribution: "File" -> "New" -> "Perl Distribution ..." 86 85 1. create an additional "hello, world" style Perl 5 module in the same namespace: "File" -> "New" -> "Perl 5 Module"
