forked from mdom/dategrep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Build.PL
49 lines (46 loc) · 1.32 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
48
49
use 5.006;
use strict;
use warnings FATAL => 'all';
use Module::Build;
my $class = Module::Build->subclass(
class => "Module::Build::Custom",
code => q{
sub ACTION_standalone {
warn "This used to call ./build-standalone.sh, but it has now so many
dependencies that it is probably easier for you to just download the
standalone scripts at
https://mdom.github.io/dategrep/dategrep-standalone-big.pl or
https://mdom.github.io/dategrep/dategrep-standalone-small.pl. If you
want to build it yourself, you have to install App::fatten.\n";
exit 0;
}
},
);
my $builder = $class->new(
module_name => 'App::dategrep',
configure_requires => {
'Module::Build' => '0.4004',
},
build_requires => {
'Date::Manip' => 0,
'Getopt::Long' => 0,
'Pod::Usage' => 0,
'Config::Tiny' => 0,
},
test_requires => {
'Test::Output' => 0,
'Test::More' => 0,
'Test::MockTime' => 0,
'FindBin' => 0,
'POSIX' => 0,
'IPC::Cmd' => 0,
},
create_makefile_pl => 'traditional',
meta_merge => {
resources => {
bugtracker => 'https://github.com/mdom/dategrep/issues',
repository => 'https://github.com/mdom/dategrep'
}
},
);
$builder->create_build_script();