-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Minilla's auto-generated boilerplate
- Loading branch information
Showing
3 changed files
with
570 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# ========================================================================= | ||
# THIS FILE IS AUTOMATICALLY GENERATED BY MINILLA. | ||
# DO NOT EDIT DIRECTLY. | ||
# ========================================================================= | ||
|
||
use 5.008_001; | ||
|
||
use strict; | ||
use warnings; | ||
use utf8; | ||
|
||
use builder::UR; | ||
use File::Basename; | ||
use File::Spec; | ||
use CPAN::Meta; | ||
use CPAN::Meta::Prereqs; | ||
|
||
my %args = ( | ||
license => 'perl', | ||
dynamic_config => 0, | ||
|
||
configure_requires => { | ||
'Module::Build' => 0.38, | ||
}, | ||
|
||
name => 'UR', | ||
module_name => 'UR', | ||
allow_pureperl => 0, | ||
|
||
script_files => [glob('script/*'), glob('bin/*')], | ||
c_source => [qw()], | ||
PL_files => {}, | ||
|
||
test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/', | ||
recursive_test_files => 1, | ||
|
||
|
||
); | ||
if (-d 'share') { | ||
$args{share_dir} = 'share'; | ||
} | ||
|
||
my $builder = builder::UR->subclass( | ||
class => 'MyBuilder', | ||
code => q{ | ||
sub ACTION_distmeta { | ||
die "Do not run distmeta. Install Minilla and `minil install` instead.\n"; | ||
} | ||
sub ACTION_installdeps { | ||
die "Do not run installdeps. Run `cpanm --installdeps .` instead.\n"; | ||
} | ||
} | ||
)->new(%args); | ||
$builder->create_build_script(); | ||
|
||
my $mbmeta = CPAN::Meta->load_file('MYMETA.json'); | ||
my $meta = CPAN::Meta->load_file('META.json'); | ||
my $prereqs_hash = CPAN::Meta::Prereqs->new( | ||
$meta->prereqs | ||
)->with_merged_prereqs( | ||
CPAN::Meta::Prereqs->new($mbmeta->prereqs) | ||
)->as_string_hash; | ||
my $mymeta = CPAN::Meta->new( | ||
{ | ||
%{$meta->as_struct}, | ||
prereqs => $prereqs_hash | ||
} | ||
); | ||
print "Merging cpanfile prereqs to MYMETA.yml\n"; | ||
$mymeta->save('MYMETA.yml', { version => 1.4 }); | ||
print "Merging cpanfile prereqs to MYMETA.json\n"; | ||
$mymeta->save('MYMETA.json', { version => 2 }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,170 @@ | ||
{ | ||
"abstract" : "rich declarative transactional objects", | ||
"author" : [ | ||
"UR was built by the software development team at The Genome Institute" | ||
], | ||
"dynamic_config" : 0, | ||
"generated_by" : "Minilla/v1.0.0, CPAN::Meta::Converter version 2.141170", | ||
"license" : [ | ||
"perl_5" | ||
], | ||
"meta-spec" : { | ||
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", | ||
"version" : "2" | ||
}, | ||
"name" : "UR", | ||
"no_index" : { | ||
"directory" : [ | ||
"t", | ||
"xt", | ||
"inc", | ||
"share", | ||
"eg", | ||
"examples", | ||
"author", | ||
"builder" | ||
] | ||
}, | ||
"prereqs" : { | ||
"configure" : { | ||
"requires" : { | ||
"CPAN::Meta" : "0", | ||
"CPAN::Meta::Prereqs" : "0", | ||
"Module::Build" : "0.38" | ||
} | ||
}, | ||
"develop" : { | ||
"requires" : { | ||
"Minilla" : "0", | ||
"Test::CPAN::Meta" : "0", | ||
"Test::MinimumVersion::Fast" : "0.04", | ||
"Test::PAUSE::Permissions" : "0.04", | ||
"Test::Pod" : "1.41", | ||
"Test::Spellunker" : "v0.2.7" | ||
} | ||
}, | ||
"runtime" : { | ||
"requires" : { | ||
"Carp" : "0", | ||
"Class::AutoloadCAN" : "0.03", | ||
"Class::Autouse" : "2.0", | ||
"Clone::PP" : "1.02", | ||
"DBD::SQLite" : "1.14", | ||
"DBI" : "1.601", | ||
"Data::Compare" : "0.13", | ||
"Data::UUID" : "0.148", | ||
"Date::Format" : "0", | ||
"Devel::GlobalDestruction" : "0", | ||
"File::Basename" : "2.73", | ||
"File::Path" : "0", | ||
"File::Temp" : "0", | ||
"FreezeThaw" : "0.43", | ||
"Getopt::Complete" : "0.26", | ||
"JSON" : "0", | ||
"Lingua::EN::Inflect" : "1.88", | ||
"List::MoreUtils" : "0", | ||
"MRO::Compat" : "0", | ||
"Path::Class" : "0", | ||
"Pod::Simple::HTML" : "3.03", | ||
"Pod::Simple::Text" : "2.02", | ||
"Sub::Install" : "0.924", | ||
"Sub::Name" : "0.04", | ||
"Sys::Hostname" : "1.11", | ||
"Text::Diff" : "0.35", | ||
"Text::Glob" : "0", | ||
"YAML" : "0", | ||
"perl" : "v5.8.7", | ||
"version" : "0" | ||
} | ||
}, | ||
"test" : { | ||
"requires" : { | ||
"Test::Fork" : "0", | ||
"Test::More" : "0.98" | ||
} | ||
} | ||
}, | ||
"release_status" : "unstable", | ||
"resources" : { | ||
"bugtracker" : { | ||
"web" : "https://github.com/genome/UR/issues" | ||
}, | ||
"homepage" : "https://github.com/genome/UR", | ||
"repository" : { | ||
"type" : "git", | ||
"url" : "git://github.com/genome/UR.git", | ||
"web" : "https://github.com/genome/UR" | ||
} | ||
}, | ||
"version" : "0.41", | ||
"x_contributors" : [ | ||
"josborne <[email protected]>", | ||
"thepler <[email protected]>", | ||
"charris <[email protected]>", | ||
"jweible <[email protected]>", | ||
"edemello <[email protected]>", | ||
"jschindl <[email protected]>", | ||
"mjohnson <[email protected]>", | ||
"ebelter <[email protected]>", | ||
"lcarmich <[email protected]>", | ||
"jwalker <[email protected]>", | ||
"gsanders <[email protected]>", | ||
"eclark <[email protected]>", | ||
"adukes <[email protected]>", | ||
"iferguso <[email protected]>", | ||
"ssmith <[email protected]>", | ||
"boberkfe <[email protected]>", | ||
"Mark Johnson <[email protected]>", | ||
"Ben Oberkfell <[email protected]>", | ||
"ssmith <[email protected]>", | ||
"Edward Belter <ebelter@blade8-4-3.(none)>", | ||
"Feiyu Du <[email protected]>", | ||
"Edward Belter <[email protected]>", | ||
"Feiyu Du <[email protected]>", | ||
"ssmith <[email protected]>", | ||
"ssmith <[email protected]>", | ||
"Robert Long <[email protected]>", | ||
"Robert Long <[email protected]>", | ||
"Thomas Mooney <[email protected]>", | ||
"Eric Clark <[email protected]>", | ||
"Thomas Mooney <[email protected]>", | ||
"ssmith <[email protected]>", | ||
"Scott Smith X <[email protected]>", | ||
"eclark <[email protected]>", | ||
"Anthony Brummett <[email protected]>", | ||
"Rob Long <[email protected]>", | ||
"Adam Dukes <[email protected]>", | ||
"Eddie Belter <[email protected]>", | ||
"Kyung Kim <[email protected]>", | ||
"Joshua McMichael <[email protected]>", | ||
"Jim Weible <[email protected]>", | ||
"Philip Kimmey <[email protected]>", | ||
"Matt Callaway <[email protected]>", | ||
"Travis Abbott <[email protected]>", | ||
"Chris Oliver <[email protected]>", | ||
"Steven Wallace <[email protected]>", | ||
"James Koval <[email protected]>", | ||
"Gabriel Sanderson <[email protected]>", | ||
"Eddie Belter <[email protected]>", | ||
"Scott Smith <[email protected]>", | ||
"Brian Derickson <[email protected]>", | ||
"Justin Lolofie <[email protected]>", | ||
"David Morton <[email protected]>", | ||
"Ian Ferguson <[email protected]>", | ||
"Neil Bowers <[email protected]>", | ||
"Scott Smith <[email protected]>", | ||
"Ben Oberkfell <[email protected]>", | ||
"Jason Walker <[email protected]>", | ||
"Thomas Mooney <[email protected]>", | ||
"Mark Burnett <[email protected]>", | ||
"Scott Smith <[email protected]>", | ||
"APipe Tester <[email protected]>", | ||
"Adam Coffman <[email protected]>", | ||
"Susanna Siebert <[email protected]>", | ||
"Anthony Brummett <[email protected]>", | ||
"apregier <[email protected]>", | ||
"Anthony Brummett <[email protected]>", | ||
"Nathaniel Nutter <[email protected]>", | ||
"Nathaniel Nutter <[email protected]>" | ||
] | ||
} |
Oops, something went wrong.