Skip to content

Commit

Permalink
Add these according to minil faq.
Browse files Browse the repository at this point in the history
  • Loading branch information
gugod committed Oct 23, 2015
1 parent eb8d562 commit 45cd9bb
Show file tree
Hide file tree
Showing 3 changed files with 404 additions and 0 deletions.
65 changes: 65 additions & 0 deletions Build.PL
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# =========================================================================
# THIS FILE IS AUTOMATICALLY GENERATED BY MINILLA.
# DO NOT EDIT DIRECTLY.
# =========================================================================

use 5.008_001;

use strict;
use warnings;
use utf8;

use Module::Build;
use File::Basename;
use File::Spec;

my %args = (
license => 'perl',
dynamic_config => 0,

configure_requires => {
'Module::Build' => 0.38,
},

name => 'Elastijk',
module_name => 'Elastijk',
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 = Module::Build->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();

use File::Copy;

print "cp META.json MYMETA.json\n";
copy("META.json","MYMETA.json") or die "Copy failed(META.json): $!";

if (-f 'META.yml') {
print "cp META.yml MYMETA.yml\n";
copy("META.yml","MYMETA.yml") or die "Copy failed(META.yml): $!";
} else {
print "There is no META.yml... You may install this module from the repository...\n";
}

74 changes: 74 additions & 0 deletions META.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"abstract" : "A specialized ElasticSearch client.",
"author" : [
"=over 4"
],
"dynamic_config" : 0,
"generated_by" : "Minilla/v2.5.0, CPAN::Meta::Converter version 2.133380",
"license" : [
"mit"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : "2"
},
"name" : "Elastijk",
"no_index" : {
"directory" : [
"t",
"xt",
"inc",
"share",
"eg",
"examples",
"author",
"builder"
]
},
"prereqs" : {
"configure" : {
"requires" : {
"Module::Build" : "0.38"
}
},
"develop" : {
"requires" : {
"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" : {
"Hijk" : "0.24",
"JSON" : "2.59",
"URI::Escape" : "0"
}
},
"test" : {
"requires" : {
"Test::More" : "0.9"
}
}
},
"release_status" : "unstable",
"resources" : {
"bugtracker" : {
"web" : "https://github.com/gugod/Elastijk/issues"
},
"homepage" : "https://github.com/gugod/Elastijk",
"repository" : {
"type" : "git",
"url" : "git://github.com/gugod/Elastijk.git",
"web" : "https://github.com/gugod/Elastijk"
}
},
"version" : "0.08",
"x_authority" : "cpan:GUGOD",
"x_contributors" : [
"borislav nikolov <jack@sofialondonmoskva.com>",
"Kang-min Liu <gugod@gugod.org>"
]
}
Loading

0 comments on commit 45cd9bb

Please sign in to comment.