Handling of readme and license files
Robert Goldman
rpgoldman at sift.info
Thu Oct 20 12:23:36 UTC 2022
On 16 Oct 2022, at 1:58, Russell Sim wrote:
> Mirko Vukovic <mirko.vukovic at gmail.com> writes:
>
>> 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.
>
> My understanding is that :static-file components are used to specify
> any
> non-lisp file dependencies of the system. The lisp parts of the unit
> tests should use :file declarations.
>
> I have used them for things like, css, graphics, test fixtures,
> templates etc, pretty much any file that I know the system depends on,
> that aren't common lisp files.
That is correct. I would expect test definitions, and even fixture code,
would go in normal `:file` components (but only for a test system, not
for the system under test). Test *data*, though (e.g., XML documents
for XMLS) would be static files.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/asdf-devel/attachments/20221020/b2d41846/attachment.html>
More information about the asdf-devel
mailing list