GithubHelp home page GithubHelp logo

briandfoy / module-starter-addmodule Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 105 KB

Add a module to an existing distribution

Home Page: https://metacpan.org/pod/Module::Starter::AddModule

License: Other

Perl 100.00%
perl perl-module perl-tool

module-starter-addmodule's Introduction

module-starter-addmodule's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

module-starter-addmodule's Issues

adding module really

HI,
sorry but I can't figure out how to really add a module?
module-starter is the same as before I installed this.
Please help.
Regards, Zdravko

something about the config file

I try add this module to add more module file in my repo, here is some example:

HanLei-MacBook-Pro:perl hanlei$ module-starter --module=Animal,Animal::Sheep,Animal::Cow --author="Oliver" --email=[email protected] --verbose
Created Animal
Created Animal/lib
Created Animal/lib/Animal.pm
Created Animal/lib/Animal
Created Animal/lib/Animal/Sheep.pm
Created Animal/lib/Animal/Cow.pm
Created Animal/t
Created Animal/t/pod.t
Created Animal/t/00-load.t
Created Animal/t/pod-coverage.t
Created Animal/t/manifest.t
Created Animal/xt
Created Animal/xt/boilerplate.t
Created Animal/ignore.txt
Created Animal/Makefile.PL
Created Animal/Changes
Created Animal/README
Added to MANIFEST: Changes
Added to MANIFEST: ignore.txt
Added to MANIFEST: lib/Animal.pm
Added to MANIFEST: lib/Animal/Cow.pm
Added to MANIFEST: lib/Animal/Sheep.pm
Added to MANIFEST: Makefile.PL
Added to MANIFEST: MANIFEST
Added to MANIFEST: README
Added to MANIFEST: t/00-load.t
Added to MANIFEST: t/manifest.t
Added to MANIFEST: t/pod-coverage.t
Added to MANIFEST: t/pod.t
Added to MANIFEST: xt/boilerplate.t
Created Animal/MANIFEST
Created starter directories and files
HanLei-MacBook-Pro:perl hanlei$ cd Animal/
HanLei-MacBook-Pro:Animal hanlei$ ls
Changes MANIFEST Makefile.PL README ignore.txt lib t xt
HanLei-MacBook-Pro:Animal hanlei$ module-starter --module=Animal::Horse --dist=.
Must specify an email address
at /Library/Perl/5.18/Module/Starter/App.pm line 134.
HanLei-MacBook-Pro:Animal hanlei$ module-starter --module=Animal::Horse --distro=.
Must specify an email address
at /Library/Perl/5.18/Module/Starter/App.pm line 134.
HanLei-MacBook-Pro:Animal hanlei$ module-starter --module=Animal::Horse --dist=. --email=[email protected]
. already exists. Use --force if you want to stomp on it.

Now, I'm totally lost, could you please tell me how to handle the configure file? there is no info in Module::Starter module's document and Module::Starter::AddModule module's document.

Great appreciate

Oliver

Module::Starter::AddModule w/ Module::Starter::PBP

Using a module-starter/config with the plugins line:

plugins: Module::Starter::AddModule Module::Starter::PBP

or the reverse ordering fails to provide the functionality of both. Are they incompatible? The above ordering gets the correct utilization of the templating in Module::Starter::PBP, but it doesn't support adding modules to an existing distribution...

module-starter --module=My::New::SubModule --dist=.

Errors about '. already exists'. When the subclassing ordering is reversed in the config, then the module add works but it ignores the PBP templating.

I am unsure if this is a problem in module-starter's plugin loading, or Module::Starter::AddModule, or Module::Starter::PBP.

I also cannot get Module::Starter::PBP to work with Module::Starter::Smart.

I apologize if I logged this defect under the wrong distro, but I had to start somewhere =(.

Plugin fails under windows

Attempted to duplicate the example from the book "Intermediate Perl" 2nd edition (Page 182), using Windows 7 Professional, Service Pack 1, 64-bit and Strawberry perl 5.24.1.

Plusgin failed with an error message from Windows.

'.' is not recognized as an internal or external command,

Corion identified the problem and syphilis proposed a fix in permonks.com node_id=1219609 which solves my problem.

Change line 194
from
system( './Build', 'manifest' );
to
system( $^X, './Build', 'manifest' ); #ref perlmonks id 1219584

I have not attempted to demonstrate the problem or the fix in any other configuration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.