App-ClusterSSH

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN


            print "Creating README", $/;

            qx{ $^X bin_PL/cssh --generate-pod | pod2text > README };

            $self->SUPER::ACTION_dist;
        }

        sub ACTION_clean {
            my ($self, @args) = @_;

            for my $file (keys %{ $self->script_files } ) {
                if( -e $file) {
                    print "Removing '$file'",$/;
                    unlink $file;
                }
            }

            $self->SUPER::ACTION_clean;
        }
    },
);

my $build = $class->new(
    meta_merge => {
        resources => {
            Repository => [

                #'http://clusterssh.git.sourceforge.net/',
                $project_info{repository},
            ],
            bugtracker => $project_info{tracker},
            homepage   => $project_info{homepage},
            coverage   => $project_info{coverage},
        },
    },
    module_name       => 'App::ClusterSSH',
    license           => 'perl',
    dist_author       => q{Duncan Ferguson <duncan_j_ferguson@yahoo.co.uk>},
    dist_version_from => 'lib/App/ClusterSSH.pm',
    requires          => {
        'version'           => '0.77',
        'Tk'                => '800.022',
        'X11::Protocol'     => '0.56',
        'X11::Protocol::WM' => '0',
        'Locale::Maketext'  => 0,
        'Exception::Class'  => '1.31',
        'Try::Tiny'         => 0,
        'Getopt::Long'      => 0,
        'File::Path'        => 0,
        'File::Glob'        => 0,
    },
    build_requires => {
        'Test::Pod::Coverage' => 0,
        'Test::Pod'           => 0,
        'Test::Trap'          => 0,
        'Readonly'            => 0,
        'File::Which'         => 0,
        'File::Temp'          => 0,
        'Test::DistManifest'  => 0,
        'Test::Differences'   => 0,
        'CPAN::Changes'       => 0.27,
        'File::Slurp'         => 0,
        'Test::PerlTidy'      => 0,
        'Perl::Tidy'          => 20180220,
    },
    recommends         => { 'Sort::Naturally' => 0, },
    configure_requires => { 'Module::Build'   => 0, },
    add_to_cleanup     => ['App-ClusterSSH-*'],
    create_makefile_pl => 'traditional',
    script_files       => [
        'bin/cssh',
        'bin/csftp',
        'bin/ccon',
        'bin/crsh',
        'bin/ctel',
        'bin/clusterssh_bash_completion.dist'
    ],
    get_options => { changes => { type => '=s' }, },
    PL_files    => {
        'bin_PL/_build_docs' => [
            'bin/cssh',
            'bin/csftp',
            'bin/ccon',
            'bin/crsh',
            'bin/ctel',
            'bin/clusterssh_bash_completion.dist'
        ],
    },
);

$build->create_build_script;



( run in 0.416 second using v1.01-cache-2.11-cpan-39bf76dae61 )