Dist::Inkt(3pm)
π Dist::Inkt π
okay so bestie, you're looking at the manual page for Dist::Inkt, a Perl module that lives in section 3pm (user contributed perl documentation, iykyk). grab a snack, we're doing this β¨
πΈ NAME πΈ
Dist::Inkt β yet another distribution builder. yes, another one. the audacity? iconic.
π¦ STATUS π¦
Experimental. like, it works, but it's giving lab experiment, not giving "put it in production and go to sleep" π
π DESCRIPTION π
So the lore is: Dist::Zilla didn't have the prerequisite amount of crazy for me, so I wrote this instead. no cap. that's the whole origin story π«Ά
Dist::Inkt itself does virtually nothing. Like, it creates an empty directory, generates a MANIFEST file, and then wraps it all up into a gzipped tarball. that's the whole rΓ©sumΓ© bestie π. But β and this is the main character moment β it provides various hooks along the way for subclasses to grab hold of.
So the general idea is that you write a subclass of Dist::Inkt, which consumes various Moose::Roles to do the actual work of populating the distribution with files. you're the one doing the work. it's the framework. slay delegation β¨
As such, Dist::Inkt is not so much a distribution builder, as it is a framework for writing your own distribution builder. periodt.
Several roles of varying utility are bundled with Dist::Inkt, as is Dist::Inkt::Profile::Simple, a subclass of Dist::Inkt which consumes most of these roles.
π COMPANIONS π
Dist::Inkt does just one thing β building the tarball from some checkout of the repo. that's it. one job. it ate and it left no crumbs π
Although roles could theoretically be written for other tasks, out of the box, Dist::Inkt doesn't do any of the following:
- Minting new distributions β I'm writing a separate tool,
Dist::Inktly::Mintyfor that. - Test suite running β Use
App::ProveorApp::ForkProve. - CPAN Uploading β Use
CPAN::Uploader. - Changing the version number across many files β Use
Perl::Version. - Integration with version control tools β Just use
hgorsvnorgitof whatever as you normally would. None of the files generated byDist::Inktshould probably be checked into your repo.
ngl that last one is a real warning, bestie. those generated files? do not commit them. leave them out of your repo, I'm begging π
π BUGS π
Please report any bugs to <http://rt.cpan.org/Dist/Display.html?Queue=Dist-Inkt>. it is right there, use it π«Ά
β SEE ALSO β
If you are not me, then you may well want one of these instead:
Dist::ZillaDist::MillaMinilla
Various extensions for Dist::Inkt:
Dist::Inkt::DOAPDist::Inkt::Profile::TOBYINK
π AUTHOR π
Toby Inkster <tobyink@cpan.org>. the icon themselves, fr fr π
πΈ COPYRIGHT AND LICENCE πΈ
This software is copyright (c) 2013-2014 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. free free free, as a treat π
π«Ά DISCLAIMER OF WARRANTIES π«Ά
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.
like, no promises babe. if it breaks, it breaks π
and that's the whole page bestie! this one shipped as perl v5.36.0, dated 2022-10-14 β go forth and build ur little tarballs, mwah πβ¨
π¦ where this page comes from
- ubuntu noble: libdist-inkt-perl 0.026-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdist-inkt-perl 0.026-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdist-inkt-perl 0.026-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms