Add cpanfile for non-core dependencies - #90
Conversation
Machine-readable manifest of the non-core Perl modules described in INSTALL.md, enabling 'cpanm --installdeps .'. FFI::Platypus is required on non-Windows (the Win32::* set on Windows); IO::Socket::SSL and DBD::SQLite are recommended (TLS / engine install / map downloads, and multi-instance mode respectively). Core modules are intentionally omitted, and INSTALL.md remains authoritative for the preferred system-package install method.
|
SPADS isn't a standard Perl program/module. It's not published on CPAN, it self-updates, its directory structure doesn't follow the standards, and so on. Its dependencies are usually provided directly by system-provided packages. I'm a bit mitigated about this PR, because providing a I guess a |
What
Adds a
cpanfiledeclaring the non-core Perl modules currently described only inprose in
INSTALL.md:FFI::Platypus(required, non-Windows) /Win32,Win32::API,Win32::TieRegistry(Windows), gated on$^OIO::Socket::SSL(recommended)DBD::SQLite(recommended, multi-instance mode)Why
Makes the dependencies machine-readable, enabling
cpanm --installdeps .and useby CI. Core modules are intentionally omitted, and
INSTALL.mdremainsauthoritative for the preferred system-package install method (the cpanfile
comments point back to it).
Purely additive; no runtime code is touched. Validated that the file evaluates
cleanly and declares the expected modules.