Bread-Runner
view release on metacpan or search on metacpan
"license" => "perl",
"module_name" => "Bread::Runner",
"recursive_test_files" => 1,
"requires" => {
"Bread::Board" => 0,
"Carp" => 0,
"Getopt::Long" => 0,
"Log::Any" => 0,
"Module::Runtime" => 0,
"Scalar::Util" => 0,
"Try::Tiny" => 0,
"perl" => "5.020"
},
"test_requires" => {
"File::Spec" => 0,
"File::Temp" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Log::Any::Test" => 0,
"Moose" => 0,
"Test::More" => 0,
}
},
"runtime" : {
"requires" : {
"Bread::Board" : "0",
"Carp" : "0",
"Getopt::Long" : "0",
"Log::Any" : "0",
"Module::Runtime" : "0",
"Scalar::Util" : "0",
"Try::Tiny" : "0",
"perl" : "5.020"
}
},
"test" : {
"requires" : {
"File::Spec" : "0",
"File::Temp" : "0",
"IO::Handle" : "0",
"IPC::Open3" : "0",
"Log::Any::Test" : "0",
# This file is generated by Dist::Zilla::Plugin::CPANFile v6.017
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.
requires "Bread::Board" => "0";
requires "Carp" => "0";
requires "Getopt::Long" => "0";
requires "Log::Any" => "0";
requires "Module::Runtime" => "0";
requires "Scalar::Util" => "0";
requires "Try::Tiny" => "0";
requires "perl" => "5.020";
on 'build' => sub {
requires "Module::Build" => "0.28";
};
on 'test' => sub {
requires "File::Spec" => "0";
requires "File::Temp" => "0";
requires "IO::Handle" => "0";
lib/Bread/Runner.pm view on Meta::CPAN
# ABSTRACT: run ALL the apps via Bread::Board
our $VERSION = '0.905'; # VERSION
use Bread::Board qw();
use Carp;
use Module::Runtime qw(use_module);
use Scalar::Util qw(blessed);
use Getopt::Long;
use Log::Any qw($log);
use Try::Tiny;
sub run {
my ( $class, $bb_class, $opts ) = @_;
my ($bb, $service) = $class->setup($bb_class, $opts);
$class->_hook( 'pre_run', $bb, $service, $opts ) if $opts->{pre_run};
my $run_methods = $opts->{run_method} || ['run'];
( run in 0.386 second using v1.01-cache-2.11-cpan-05444aca049 )