Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Depended on Sub::Identify 0.04

  • Loading branch information...
commit 28f354e07d453bb165a5231c7f036318ab79ed97 1 parent 2fa0776
@tokuhirom authored
Showing with 33 additions and 16 deletions.
  1. +29 −11 Build.PL
  2. +3 −4 META.json
  3. +1 −1  cpanfile
View
40 Build.PL
@@ -1,18 +1,21 @@
+# =========================================================================
+# 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;
use CPAN::Meta;
use CPAN::Meta::Prereqs;
-# =========================================================================
-# THIS FILE IS AUTOMATICALLY GENERATED BY MINILLA.
-# DO NOT EDIT DIRECTLY.
-# =========================================================================
-
-use 5.008;
-
-my $builder = Module::Build->new(
+my %args = (
license => 'perl',
dynamic_config => 0,
@@ -20,15 +23,30 @@ my $builder = Module::Build->new(
'Module::Build' => 0.38,
},
- no_index => { 'directory' => [ 'inc' ] },
- name => 'Module-Functions',
- module_name => 'Module::Functions',
+ name => 'Module-Functions',
+ module_name => 'Module::Functions',
+ allow_pure_perl => 0,
script_files => [glob('script/*'), glob('bin/*')],
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();
my $mbmeta = CPAN::Meta->load_file('MYMETA.json');
View
7 META.json
@@ -4,7 +4,7 @@
"Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>"
],
"dynamic_config" : 0,
- "generated_by" : "Minilla/v0.0.53, CPAN::Meta::Converter version 2.120921",
+ "generated_by" : "Minilla/v0.4.3, CPAN::Meta::Converter version 2.130880",
"license" : [
"perl_5"
],
@@ -34,17 +34,16 @@
},
"develop" : {
"requires" : {
- "Pod::Wordlist::hanekomu" : "0",
"Test::CPAN::Meta" : "0",
"Test::MinimumVersion" : "0.10108",
"Test::Pod" : "1.41",
- "Test::Spelling" : "0"
+ "Test::Spellunker" : "v0.2.2"
}
},
"runtime" : {
"requires" : {
"Exporter" : "0",
- "Sub::Identify" : "0",
+ "Sub::Identify" : "0.04",
"parent" : "0",
"perl" : "5.008005"
}
View
2  cpanfile
@@ -1,5 +1,5 @@
requires 'Exporter';
-requires 'Sub::Identify';
+requires 'Sub::Identify', 0.04;
requires 'parent';
requires 'perl', '5.008005';
Please sign in to comment.
Something went wrong with that request. Please try again.