App::scriptdist - create a distribution around a perl script
use App::scriptdist qw(:all);
This module provides the utility functions for the scriptdist program that builds a basic Perl CPAN distribution around a standalone script file that already exists.
I do not intend this for new development and don't want to create an authoring tool. You can do that with some other tool (or fork this one and build your own).
Provide a prompt, get the response, chomp the neewline, and return the answer.
Find all the files under a directory.
Copy the file from one place to another.
Unless the environment variable SCRIPTDIST_SKIP_GIT is set, init a git repo, add all the files, and make the initial commit.
SCRIPTDIST_SKIP_GIT
Return the script template.
Return a hash reference of the contents of the files to add. The key is the filename and the value is its contents.
Copy modules into lib directory (to create module dist)
Command line switches to turn things on and off
Add a cover.t and pod coverage test?
Interactive mode?
This source is part of a Github project.
https://github.com/briandfoy/scriptdist
Thanks to Soren Andersen for putting this script through its paces and suggesting many changes to actually make it work.
brian d foy, <bdfoy@cpan.org>
<bdfoy@cpan.org>
Copyright © 2004-2021, brian d foy <bdfoy@cpan.org>. All rights reserved.
This code is available under the Artistic License 2.0.
To install App::scriptdist, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::scriptdist
CPAN shell
perl -MCPAN -e shell install App::scriptdist
For more information on module installation, please visit the detailed CPAN module installation guide.