1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
# We need at least Perl 5.8.2 for proper Unicode support
use 5.008002;
use strict;
use warnings;
use File::Spec;
use lib File::Spec->catdir(File::Spec->curdir(), "inc");
# recommends 'Graph::Easy::As_svg' => 0.23;
use Test::Run::Builder;
my $build = Test::Run::Builder->new(
'module_name' => "Graph::Easy",
configure_requires =>
{
'Module::Build' => '0.36',
},
build_requires =>
{
'Test::More' => '0.62',
},
'requires' =>
{
'Scalar::Util' => '1.13',
'perl' => '5.8.2',
'strict' => 0,
'warnings' => 0,
'vars' => 0,
},
'recommends' =>
{
'Graph::Easy::As_svg' => 0.23
},
'license' => "gpl",
meta_merge =>
{
resources =>
{
repository => "https://bitbucket.org/shlomif/perl-graph-easy",
},
keywords =>
[
'generation',
'graph',
'graphviz',
'text generation',
'text',
],
},
create_makefile_pl => 'traditional',
'scripts' =>
[
'bin/graph-easy',
],
);
$build->create_build_script;
|