Module...estSkip(3pm)
π Module::Install::ManifestSkip β the vibe β¨
okay bestie so this page lives in the User Contributed Perl Documentation section of the manual, and honestly? it's giving "tiny module, huge convenience" energy. no cap. π
πΈ NAME πΈ
Module::Install::ManifestSkip β it generates a MANIFEST.SKIP file for you, and that's literally the whole job. and it ate. π
β¨ SYNOPSIS β¨
okay so this is what it looks like in the wild, copy it exactly, don't freestyle:
use inc::Module::Install;
all_from 'lib/Foo.pm';
manifest_skip;
WriteAll;
that's it. that's the whole ritual. π¦
π DESCRIPTION π
so here's the tea: this module generates a MANIFEST.SKIP file for you (it's using Module::Manifest::Skip under the hood, icon behavior) and that file contains all the common files that people do not want showing up in their MANIFEST files. and it regenerates the SKIP file every single time you (yes, you, the module author, main character) run Makefile.PL. every time. it's committed like that. π₯
and here's the cute part: you can add your own custom entries at the top of the MANIFEST file. just put a blank line after your entries, and the module will leave them alone. respectful. we love a module that knows boundaries. π«Ά
this module also adds 'MANIFEST' to the clean_files() list, so that make clean will remove your MANIFEST for you. no manual deleting, no mess, periodt. π§
π OPTIONS π
manifest_skip 'clean';β if you don't plan on adding anything to the stockMANIFEST.SKIPand you just wantmake cleanto delete it, say this:
manifest_skip 'clean';
like that. exactly that. slay. β¨
π THEORY π
okay so there's this one school of thought for release management, and it goes like this: you never commit your MANIFEST file. you just generate it using make manifest, right before releasing a module, and then delete it afterwards. chaotic? maybe. correct? also maybe. π
the reasoning is lowkey genius: this way you never forget to add new files to your MANIFEST. that's the win. π
the only problems β and the original is very honest about this β are that:
- you always need to generate a
MANIFEST.SKIPfile, and - you need to add
MANIFESTto yourclean_files, or delete it by hand. π
and this module does both of those things for you. bestie behavior fr fr. π
π AUTHOR π
Ingy dΓΆt Net <ingy@cpan.org> β king. π
β COPYRIGHT AND LICENSE β
Copyright 2010-2014. Ingy dΓΆt Net.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
π heads up bestie: that license line is real, and that URL is real, so don't go rewriting them. they stay exactly as written. iykyk. πΈ
and that's the whole page!! π¦ this one came from perl v5.34.0, dated 2022-06-15, and the manual section is Module...estSkip(3pm). go forth and skip your manifests, queen. π
β¨π
π¦ where this page comes from
- debian bookworm: libmodule-install-manifestskip-perl 0.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmodule-install-manifestskip-perl 0.24-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