The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

Module::Provision::TraitFor::AddingFiles - Adds additional files to the project

Synopsis

   use Moose;

   extends 'Module::Provision::Base';
   with    'Module::Provision::TraitFor::AddingFiles';

Version

This documents version v0.12.$Rev: 1 $ of Module::Provision::TraitFor::AddingFiles

Description

Adds additional modules, programs, and tests to the project

Configuration and Environment

Requires the following attributes to be defined in the consuming class; add_to_vcs, appldir, binsdir, exec_perms, libdir, module_abstract, render_template, stash, and testdir

Modifies the generate_metadata method. If generate_metadata returns a pathname and the file exists it is added to the VCS

Defines no attributes

Subroutines/Methods

module

   $exit_code = $self->module;

Creates a new module specified by the class name on the command line

program

   $exit_code = $self->program;

Creates a new program specified by the program name on the command line

test

   $exit_code = $self->test;

Creates a new test specified by the test file name on the command line

Diagnostics

None

Dependencies

Class::Usul
Moose::Role

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Acknowledgements

Larry Wall - For the Perl programming language

Author

Peter Flanigan, <pjfl@cpan.org>

License and Copyright

Copyright (c) 2013 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE