App-cpanbaker

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: 1.4
name: App-cpanbaker
no_index:
  directory:
    - inc
    - t
    - xt
requires:
  DateTime: 0
  ExtUtils::Installed: 0
  File::Find::Rule: 0
  File::Spec: 0
  Getopt::Long: 0
  List::MoreUtils: 0
  Log::Dispatch: 0
  Pod::Simple::Text: 0
resources:
  license: http://dev.perl.org/licenses/
  repository: git://github.com/c9s/App-cpanbaker.git

Makefile.PL  view on Meta::CPAN

use inc::Module::Install;
name 'App-cpanbaker';
all_from 'lib/App/cpanbaker.pm';

requires 'Getopt::Long';
requires 'List::MoreUtils';
requires 'File::Find::Rule';
requires 'File::Spec';
requires 'Log::Dispatch';
requires 'Pod::Simple::Text';
requires 'DateTime';
requires 'ExtUtils::Installed';

tests 't/*.t';
author_tests 'xt';

test_requires 'Test::More';
auto_set_repository;
auto_include;

install_script 'bin/cpanbaker';

bin/cpanbaker  view on Meta::CPAN

#!/usr/bin/env perl
use Getopt::Long;
use List::MoreUtils qw(uniq);
use File::Find::Rule;
use File::Spec;
use Log::Dispatch;
use Getopt::Long;
use DateTime;
use warnings;
use strict;
$|++;

my $opt_verbose;
my $opt_very_verbose;
my $opt_installed;
my $opt_exclude_parts = "";
my $opt_include_parts = "";
my $opt_logfile;

bin/cpanbaker  view on Meta::CPAN


    # use Data::Dumper; warn Dumper( $part , \@paths );

    push @tar_paths, @paths;
}

my $tarbin = 'tar';
my $taropts = 'cpf';
my $tarext = '.tar';
my $tarname = join(
        '-',"cpanbak", $^O ,DateTime->now->ymd('-'));

my $tarexclude = ' --exclude "*.log"';

if( $exclude_parts{perlbrew} ) {
    push @exclude_pattern , $ENV{PERLBREW_ROOT};
}

push @exclude_pattern, File::Spec->join( $ENV{HOME} , '.cpanm' , 'work' );
push @exclude_pattern, '*.pod' if $opt_skip_pods;
push @exclude_pattern, '*.pm3' if $opt_skip_manpages;



( run in 0.434 second using v1.01-cache-2.11-cpan-05444aca049 )