somewhat off-topic to the original question:

Can :static-file be used for files part of unit tests? Such as unit tests for log-parsers.

Thanks,

Mirko

On Fri, Oct 14, 2022 at 7:24 PM Stelian Ionescu <sionescu@cddr.org> wrote:
> Hey,
>
> I'm working with a project that bundles up CL systems, and then copies
> them to a remote host.  To avoid copying unnecessary files, we rely on
> the components and additional-input-files to find all the files needed
> to load the system on the remote host.
>
> I found some ASD files to load on the remote host. These systems are
> expecting to read a long-description, usually a readme file.  All of
> these projects are using reader macros to load this data, and none of
> them declare the file as a :static-file component.
>
> It's also often the case that the license of a project requires a copy
> of the license be shipped with the project. Yet rarely do I see any
> project declaring a :static-file for one in their asd file.
>
> Am I correct in my understanding that using :static-files is this the
> current recommended way to declare these files?

ASDF is a build system, not a software packaging system.
The :STATIC-FILE component was meant to handle data files that might
be required at runtime, not any metadata in general.

--
Stelian Ionescu