Mite::Manual::Workflow - how to work with Mite
Only developers must have Mite installed. Install it normally from CPAN.
Do not declare Mite as a dependency. It is not needed to install your release.
Initialize your project. Tell it your project name.
This will create a .mite directory and a shim file in lib.
Instead of use Mite, you should use Your::Project::Mite. The name of this file will depend on the name of your project.
Mite is a subset of Moose.
Mite is "compiled" in that the code must be processed after editing before you run it. This is done by running mite compile. It will create .mite.pm files for each .pm file in lib.
To make development smoother, we provide utility modules to link Mite with the normal build process. See Mite::MakeMaker and Mite::ModuleBuild for MakeMaker/Makefile.PL and Module::Build/Build.PL development respectively.
The .mite directory should not be shipped with your distribution. Add ^\.mite$ to your MANIFEST.SKIP file.
The compiled .mite.pm files must ship with your code, so make sure they get picked up in your MANIFEST file. This should happen when you build the MANIFEST normally.
Build and ship your distribution normally. It contains everything it needs.
Please report any bugs to https://github.com/tobyink/p5-mite/issues.
Michael G Schwern <firstname.lastname@example.org>.
Toby Inkster <email@example.com>.
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.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.