#!/usr/bin/env perl use strict; =head1 NAME moddevaid - script to interface to the Module::DevAid module =head1 VERSION This describes version B<0.24> of moddevaid. =cut our $VERSION = '0.24'; =head1 SYNOPSIS moddevaid [--changes_file I ] [ --commit_todo ] [ --dist_name I ] [ --gen_readme | --nogen_readme ] [ --gen_todo | --nogen_todo ] { --modules I } [ --pod_file I ] [ --readme_file I ] { --scripts I } [ --todo_file I ] [ --version_control I ] [ --version_file I ] [ --old_version_file I ] I where I is one of DUMP | CHANGES | LIST | README | TODO | VERSION | RELEASE =head1 DESCRIPTION Script to aid with development, by helping (and testing) auto-building of certain files, and with the steps needed in building and committing a release. At this point this uses the darcs or svk revision systems. Takes a project description, either through the command line options, or via a project config file. (see L for more information). =head1 OPTIONS =over =item --changes_file I Name of the Changes file to be generated. (default: Changes) =item --commit_todo Should we commit the TODO file we generated? If true, then will attempt to do a commit on the generated TODO file. This needs to be an option because some setups need the TODO file (as well as the .todo file) to be under revision control, and others don't. (see L<--gen_todo>) (default: false) =item --dist_name I The distribution name of the project, such as the name of the module My::Module. (required) =item --gen_readme | --nogen_readme Should we generate a README file? (see L<--pod_file>) =item --gen_todo | --nogen_todo Should we generate a TODO file? If true, the TODO file will be generated from a .todo file of the kind created by the devtodo program. (see L<--todo_file>) =item --modules I The module files in the project. Must have their path relative to the top directory of the project. To add more than one, repeat the option. (required) =item --old_version_file I The file which will hold the previous version (gets updated by VERSION command). (see L<--version_file>) (default: old_version.txt) =item --pod_file I The file which contains the POD from which the README file should be generated. If not defined, defaults to the first module in the B list. If B is true, the README file will be generated from I