App-AppSpec
view release on metacpan or search on metacpan
"ExtUtils::MakeMaker" : "0",
"File::ShareDir::Install" : "0.06"
}
},
"runtime" : {
"requires" : {
"App::Spec" : "0.013",
"App::Spec::Pod" : "0",
"App::Spec::Run::Cmd" : "0",
"App::Spec::Schema" : "0",
"Data::Dumper" : "0",
"Exporter" : "0",
"File::Basename" : "0",
"File::Path" : "0",
"JSON::Validator" : "0",
"List::Util" : "1.33",
"Moo" : "0",
"Term::ANSIColor" : "0",
"YAML::PP" : "0.015",
"base" : "0",
"perl" : "v5.10.0",
file: lib/App/AppSpec/Schema/Validator.pm
version: '0.006'
App::AppSpec::Spec:
file: lib/App/AppSpec/Spec.pm
version: '0.006'
requires:
App::Spec: '0.013'
App::Spec::Pod: '0'
App::Spec::Run::Cmd: '0'
App::Spec::Schema: '0'
Data::Dumper: '0'
Exporter: '0'
File::Basename: '0'
File::Path: '0'
JSON::Validator: '0'
List::Util: '1.33'
Moo: '0'
Term::ANSIColor: '0'
YAML::PP: '0.015'
base: '0'
perl: v5.10.0
Makefile.PL view on Meta::CPAN
"bin/appspec"
],
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.010000",
"NAME" => "App::AppSpec",
"PREREQ_PM" => {
"App::Spec" => "0.013",
"App::Spec::Pod" => 0,
"App::Spec::Run::Cmd" => 0,
"App::Spec::Schema" => 0,
"Data::Dumper" => 0,
"Exporter" => 0,
"File::Basename" => 0,
"File::Path" => 0,
"JSON::Validator" => 0,
"List::Util" => "1.33",
"Moo" => 0,
"Term::ANSIColor" => 0,
"YAML::PP" => "0.015",
"base" => 0,
"strict" => 0,
Makefile.PL view on Meta::CPAN
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"App::Spec" => "0.013",
"App::Spec::Pod" => 0,
"App::Spec::Run::Cmd" => 0,
"App::Spec::Schema" => 0,
"Data::Dumper" => 0,
"Exporter" => 0,
"File::Basename" => 0,
"File::Path" => 0,
"File::Share" => 0,
"JSON::Validator" => 0,
"List::Util" => "1.33",
"Moo" => 0,
"Term::ANSIColor" => 0,
"Test::More" => 0,
"YAML::PP" => "0.015",
bin/appspec view on Meta::CPAN
#!perl
# ABSTRACT: Various utilities for App::Spec files
# vim:et:sts=4:sws=4:sw=4
use strict;
use warnings;
use 5.010;
use Data::Dumper;
our $VERSION = '0.006'; # VERSION
use App::Spec;
use App::AppSpec;
use App::AppSpec::Spec qw/ $SPEC /;
my $spec = App::Spec->read($SPEC);
my $run = $spec->runner;
$run->run;
tools/generate-spec-pm.pl view on Meta::CPAN
#!/usr/bin/env perl
use strict;
use warnings;
use 5.010;
use FindBin '$Bin';
use Data::Dumper;
use YAML::PP;
my $specfile = "$Bin/../share/appspec-spec.yaml";
my $pm = "$Bin/../lib/App/AppSpec/Spec.pm";
my $yp = YAML::PP->new( schema => [qw/ JSON /] );
my $SPEC = $yp->load_file($specfile);
local $Data::Dumper::Sortkeys = 1;
local $Data::Dumper::Indent = 1;
my $dump = Data::Dumper->Dump([$SPEC], ['SPEC']);
open my $fh, '<', $pm or die $!;
my $module = do { local $/; <$fh> };
close $fh;
$module =~ s/(# START INLINE\n).*(# END INLINE\n)/$1$dump$2/s;
open $fh, '>', $pm or die $!;
print $fh $module;
close $fh;
( run in 0.505 second using v1.01-cache-2.11-cpan-4d50c553e7e )