App-depak

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.09    2014-10-16  Released-By: PERLANCAR

        - This release adds several conveniences for turnkey fatpacking.

        - [Incompatible change] Change default of output_file to
          <source_dir>/<source>.fatpack, or <cwd>/<source>.fatpack if the first
          choice is not writable.

        - Add option --overwrite.

        - chmod 0755 output file.

        - Replace shebang line in output file to the standard "#!/usr/bin/perl"
          (instead of using the path to perl binary used by fatpack).

        - Document configuration file support, and automatically select a config
          profile which the same name as the input script for convenience.


0.08    2014-10-16  Released-By: PERLANCAR

lib/App/depak.pm  view on Meta::CPAN

        return $res unless $res->[0] == 200;
    } else {
        require Module::FatPack;
        $res = Module::FatPack::fatpack_modules(
            %pack_args,
        );
        return $res unless $res->[0] == 200;
    }

    write_binary($self->{abs_output_file}, $res->[2]);
    chmod 0755, $self->{abs_output_file};

    log_info("  Produced %s (%.1f KB)",
                $self->{abs_output_file}, (-s $self->{abs_output_file})/1024);
}

sub _test {
    require Capture::Tiny;
    require IPC::System::Options;

    my $self = shift;



( run in 0.257 second using v1.01-cache-2.11-cpan-496ff517765 )