Alien-Build-Git

 view release on metacpan or  search on metacpan

t/alien_build_plugin_download_git.t  view on Meta::CPAN

use Test2::V0 -no_srand => 1;
use Test::Alien::Build;
use Alien::Build::Plugin::Download::Git;
use Capture::Tiny qw( capture_merged );
use Path::Tiny qw( path );
use lib 't/lib';
use Repo;

skip_all 'Test requires Sort::Versions'
  unless eval { require Sort::Versions; 1 };

# This module is not compatible with check_digest.  It does not connect to the internet
# in testing, only using file URLs
if(defined $ENV{ALIEN_DOWNLOAD_RULE} && $ENV{ALIEN_DOWNLOAD_RULE} eq 'digest_and_encrypt')
{
  $ENV{ALIEN_DOWNLOAD_RULE} = 'digest_or_encrypt';

t/alien_build_plugin_fetch_git.t  view on Meta::CPAN

use Test2::V0 -no_srand => 1;
use Test::Alien::Build;
use Alien::Build::Plugin::Fetch::Git;
use lib 't/lib';
use Repo;
use Capture::Tiny qw( capture_merged );
use Path::Tiny qw( path );
use Test2::Tools::URL 0.02;

my $build = alienfile_ok q{
  use alienfile;

  plugin 'Fetch::Git';
};

t/alien_git.t  view on Meta::CPAN

use Test2::V0 -no_srand => 1;
use Test::Alien;
use Test::Alien::Build;
use Alien::git;
use lib 't/lib';
use Repo;
use Capture::Tiny qw( capture_merged );
use Path::Tiny qw( path );

alien_ok 'Alien::git';

isnt( Alien::git->version, 'unknown', 'version is not unknown' );

my $exe = Alien::git->exe;



( run in 0.325 second using v1.01-cache-2.11-cpan-87723dcf8b7 )