App-Rcsync

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

author:
  - 'Peter Shangov <pshangov@yahoo.com>'
build_requires:
  App::Cmd::Tester: 0
  File::Find: 0
  File::Slurp: 0
  File::Spec: 0
  File::Temp: 0
  Test::Differences: 0
  Test::More: 0
  Try::Tiny: 0
configure_requires:
  ExtUtils::MakeMaker: 6.30
dynamic_config: 0
generated_by: 'Dist::Zilla version 4.300003, CPAN::Meta::Converter version 2.112150'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: 1.4
name: App-Rcsync
requires:

Makefile.PL  view on Meta::CPAN

  "ABSTRACT" => "Sync configuration files across machines",
  "AUTHOR" => "Peter Shangov <pshangov\@yahoo.com>",
  "BUILD_REQUIRES" => {
    "App::Cmd::Tester" => 0,
    "File::Find" => 0,
    "File::Slurp" => 0,
    "File::Spec" => 0,
    "File::Temp" => 0,
    "Test::Differences" => 0,
    "Test::More" => 0,
    "Try::Tiny" => 0
  },
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => "6.30"
  },
  "DISTNAME" => "App-Rcsync",
  "EXE_FILES" => [
    "bin/rcsync"
  ],
  "LICENSE" => "perl",
  "NAME" => "App::Rcsync",

t/01-basic.t  view on Meta::CPAN

use warnings;
use strict;

use Test::More tests => 2;
use App::Cmd::Tester;
use App::Rcsync;
use Test::Differences;
use File::Temp qw(tempfile);
use File::Spec;
use File::Slurp qw(write_file);
use Try::Tiny;

my ( $config_fh, $config_filename ) = tempfile();
my ( $tmpl_fh, $tmpl_filename ) = tempfile();

my ($tmpl_volume, $tmpl_path, $tmpl_basename) = File::Spec->splitpath( $tmpl_filename );
my $tmpl_parent = File::Spec->catdir( $tmpl_volume, $tmpl_path );

my $config = <<"CONFIG";
base_dir $tmpl_parent
<test1>



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