Alien-Xmake
view release on metacpan or search on metacpan
builder/Alien/Xmake/Builder.pm view on Meta::CPAN
if ( $p eq $dest_path || $dest_path->subsumes($p) ) {
next;
}
my $rel = $p->relative($src_path);
my $target = $dest_path->child($rel);
if ( $p->is_dir ) {
$target->mkpath;
}
else {
$p->copy($target) or die "Failed to copy $p to $target: $!";
$target->chmod( $p->stat->mode );
}
}
}
method _run_cmd (@args) {
system(@args) == 0;
}
method _resolve_xmake ( ) {
( run in 0.885 second using v1.01-cache-2.11-cpan-39bf76dae61 )