-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathBuild.PL
47 lines (44 loc) · 1.54 KB
/
Build.PL
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
use 5.010_001;
use strict;
use warnings FATAL => 'all';
use Module::Build;
my $builder = Module::Build->new(
module_name => 'Serge',
license => 'perl',
dist_version_from => 'lib/Serge.pm',
release_status => 'stable',
configure_requires => {
'Module::Build' => 0,
},
build_requires => {
'File::Copy::Recursive' => 0,
'IO::String' => 0,
'Test::More' => '0.94',
'Text::CSV_XS' => 0,
'Text::Diff' => 0,
},
requires => {
'Authen::SASL' => 0,
'Config::Neat' => '1.302',
'DBD::SQLite' => 0,
'JSON' => 0,
'JSON::XS' => 0,
'MIME::Lite' => 0,
'Net::SMTP::SSL' => 0,
'XML::Parser' => 0,
'XML::Parser::Style::IxTree' => 0,
'XML::Twig' => 0,
'YAML::XS' => 0,
},
recommends => {
'IO::String' => 0,
'Text::CSV_XS' => 0,
},
add_to_cleanup => ['Serge-*', 'Makefile.PL', 'MYMETA.*', 'META.*', 'MANIFEST.bak', 'MANIFEST'],
create_makefile_pl => 'traditional',
);
# Copy lib/**/.serge and lib/**/.sql files to blib and the install directory.
$builder->add_build_element('serge');
$builder->add_build_element('sql');
$builder->create_build_script();