sergiotarxz
16ac140f9d
The POST /developer endpoint is created using the openapi definition to validate the fields. This will allow a way to create endpoints and their doc automatically.
33 lines
1013 B
Perl
33 lines
1013 B
Perl
use Module::Build;
|
|
|
|
my $home = $ENV{HOME};
|
|
|
|
my $build = Module::Build->new(
|
|
module_name => 'Peace',
|
|
license => 'AGPLv3',
|
|
dist_author => 'Sergio Iglesias <sergiotarxz@posteo.net>',
|
|
dist_abstract => 'Peace application shop.',
|
|
requires => {
|
|
'Mojolicious' => 0,
|
|
'DBI' => 0,
|
|
'DBD::Pg' => 0,
|
|
'DBD::Mock' => 0,
|
|
'DateTime' => 0,
|
|
'DateTime::Format::Pg' => 0,
|
|
'Test::Most' => 0,
|
|
'Test::MockObject' => 0,
|
|
'Test::MockModule' => 0,
|
|
'Test::Pod::Coverage' => 0,
|
|
'JSON' => 0,
|
|
'YAML' => 0,
|
|
'Capture::Tiny' => 0,
|
|
'Email::Valid' => 0,
|
|
'Crypt::Bcrypt' => 0,
|
|
},
|
|
install_path => {
|
|
'templates' => "$HOME/.local/share/peace/template",
|
|
'public' => "$HOME/.local/share/peace/public",
|
|
}
|
|
);
|
|
$build->create_build_script;
|