1# ========================================================================= 2# THIS FILE IS AUTOMATICALLY GENERATED BY MINILLA. 3# DO NOT EDIT DIRECTLY. 4# ========================================================================= 5 6use 5.008_001; 7 8use strict; 9use warnings; 10use utf8; 11 12BEGIN { push @INC, '.' } 13use builder::MyBuilder; 14use File::Basename; 15use File::Spec; 16 17my %args = ( 18 license => 'perl_5', 19 dynamic_config => 0, 20 21 configure_requires => { 22 'Module::Build' => '0.4005', 23 }, 24 25 requires => { 26 'XSLoader' => '0.02', 27 'parent' => '0', 28 'perl' => '5.008001', 29 }, 30 31 recommends => { 32 }, 33 34 suggests => { 35 }, 36 37 build_requires => { 38 'Test::More' => '0.88', 39 }, 40 41 test_requires => { 42 }, 43 44 name => 'List-UtilsBy-XS', 45 module_name => 'List::UtilsBy::XS', 46 allow_pureperl => 0, 47 48 script_files => [glob('script/*'), glob('bin/*')], 49 c_source => [qw()], 50 PL_files => {}, 51 52 test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/', 53 recursive_test_files => 1, 54 55 56); 57if (-d 'share') { 58 $args{share_dir} = 'share'; 59} 60 61my $builder = builder::MyBuilder->subclass( 62 class => 'MyBuilder', 63 code => q{ 64 sub ACTION_distmeta { 65 die "Do not run distmeta. Install Minilla and `minil install` instead.\n"; 66 } 67 sub ACTION_installdeps { 68 die "Do not run installdeps. Run `cpanm --installdeps .` instead.\n"; 69 } 70 } 71)->new(%args); 72$builder->create_build_script(); 73 74