NAME
Module::Build::Mojolicious
SYNOPSIS
# Build.PL
use Module::Build::Mojolicious clean_install => 1;
my $builder = Module::Build::Mojolicious->new(
configure_requires => {
'Module::Build::Mojolicious' => 0,
'Module::Build' => 0.38,
},
...
);
$builder->create_build_script;
DESCRIPTION
A subclass of Module::Build for use with Mojolicious. See Mojolicious::Plugin::InstallablePaths for more documentation.
Note that you should add it to the configure_requires
key as you should for any module used in a Build.PL
file.
OPTIONS
If imported with the option clean_install => 1
, Module::Build::CleanInstall will be inserted into the inheritance tree at import time. This module ensures that old files are removed before upgrading an already installed module. The author recommends this option be enabled.
SOURCE REPOSITORY
http://github.com/jberger/Mojolicious-Plugin-InstallablePaths
AUTHOR
Joel Berger, <joel.a.berger@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2012 by Joel Berger
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.