2022-02-23 02:52:14 +01:00
|
|
|
use Module::Build;
|
|
|
|
|
|
|
|
my $home = $ENV{HOME};
|
|
|
|
|
|
|
|
my $build = Module::Build->new(
|
|
|
|
module_name => 'Peace',
|
|
|
|
license => 'AGPLv3',
|
2022-03-14 19:14:05 +01:00
|
|
|
dist_author => 'Sergio Iglesias <sergiotarxz@posteo.net>',
|
|
|
|
dist_abstract => 'Peace application shop.',
|
2022-02-23 02:52:14 +01:00
|
|
|
requires => {
|
|
|
|
'Mojolicious' => 0,
|
2022-03-14 19:14:05 +01:00
|
|
|
'DBI' => 0,
|
|
|
|
'DBD::Pg' => 0,
|
|
|
|
'DBD::Mock' => 0,
|
2022-03-15 02:45:16 +01:00
|
|
|
'DateTime' => 0,
|
|
|
|
'DateTime::Format::Pg' => 0,
|
2022-03-16 16:11:27 +01:00
|
|
|
'Test::Most' => 0,
|
|
|
|
'Test::MockObject' => 0,
|
|
|
|
'Test::MockModule' => 0,
|
2022-02-23 02:52:14 +01:00
|
|
|
},
|
|
|
|
install_path => {
|
|
|
|
'templates' => "$HOME/.local/share/peace/template",
|
|
|
|
'public' => "$HOME/.local/share/peace/public",
|
|
|
|
}
|
|
|
|
);
|
|
|
|
$build->create_build_script;
|