App-Seacan
view release on metacpan or search on metacpan
lib/App/Seacan.pm view on Meta::CPAN
make_path($target_directory);
$source_directory =~ s{/+$}{};
system("rsync", "-8vPa", $source_directory, $target_directory) == 0 or die;
}
sub create_launcher {
# Instead of giving a very long command to the user
# a launcher script is generated.
# app_name and main_script could be added to the configuration
# so we can add the info directly instead of "guessing" it
# through a regex.
my $self = shift;
my $output = $self->config->{seacan}{output};
# The launcher script goes into bin of the target directory
my $target_directory = join_path($output, 'bin');
my $app_name = $self->config->{seacan}{app_name};
if ( !$app_name ) {
( run in 0.719 second using v1.01-cache-2.11-cpan-748bfb374f4 )