Mite::ModuleBuild - use in your Build.PL when developing with Mite
# In Build.PL use Module::Build; my $class = eval { require Mite::ModuleBuild } || 'Module::Build'; my $build = $class->new( ...as normal... ); $build->create_build_script;
If your module is being developed with Module::Build, this module makes working with Mite more natural.
Be sure to require this in an eval block so users can install your module without mite. require will return the name of the class.
require
eval
./Build
When ./Build is run, mite will compile any changes.
./Build clean
When ./Build clean is run, mite files will be cleaned up as well.
./Build manifest
Be sure to run this after running ./Build and before running ./Build dist so all the mite files are picked up.
./Build dist
The .mite directory should not be shipped with your distribution. Add ^\.mite/ to your MANIFEST.SKIP file.
^\.mite/
Mite::MakeMaker
Please report any bugs to https://github.com/tobyink/p5-mite/issues.
Michael G Schwern <mschwern@cpan.org>.
Toby Inkster <tobyink@cpan.org>.
This software is copyright (c) 2011-2014 by Michael G Schwern.
This software is copyright (c) 2022 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
To install Mite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mite
CPAN shell
perl -MCPAN -e shell install Mite
For more information on module installation, please visit the detailed CPAN module installation guide.