Autoconf-Template

 view release on metacpan or  search on metacpan

bin/autoconf-template-perl  view on Meta::CPAN

    )
  );

  my %file_types = (
    perl_modules     => ['pm'],
    perl_scripts     => ['pl'],
    cgi_scripts      => ['cgi'],
    bash_scripts     => ['sh'],
    html_files       => ['html'],
    css_files        => ['css'],
    image_files      => [qw(png gif jpg jpeg)],
    javascript_files => ['js'],
    config_files     => [qw(json ini cfg yaml)],
  );

  my @exclude_files = @{ $options->{'exclude-files'} };

  my @exclude_dirs = @{ $options->{'exclude-dirs'} };

  $srcdir //= $DOT;

bin/autoconf-template-perl  view on Meta::CPAN

    create_target_file_list( $options, [ resources => $resources ] );

    # refresh the list of files for 'built' assets look for .in files
    # in each directory, presumably someone dropped a new .in file in
    # one of these and wants to refresh the Makefile.am

    my %html_files = (
      html       => [ 'htdocs',     ['html'] ],
      javascript => [ 'javascript', ['js'] ],
      css        => [ 'css',        ['css'] ],
      image      => [ 'image',      [qw(png gif jpeg jpg)] ],
    );

    foreach ( keys %html_files ) {
      my $file_list = $_ . '_files';

      $options->{$file_list} = [];

      my ( $subdir, $ext_list ) = @{ $html_files{$_} };

      foreach my $file_type ( @{$ext_list} ) {



( run in 3.865 seconds using v1.01-cache-2.11-cpan-788537b7465 )