<div dir="ltr">Hi Frank,<div> You are looking for asdf:component-version. See for example how <a href="https://github.com/ahefner/shuffletron/blob/39c7d8af6577e9cbd39da656598f98c6eb6c3f14/src/global.lisp#L6">Shuffletron</a> does it<div> </div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 17, 2016 at 10:59 AM, Frank <span dir="ltr"><<a href="mailto:fau@riseup.net" target="_blank">fau@riseup.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
In the system definition we can specify a version; for example:<br>
<br>
(asdf:defsystem :foo<br>
:description "foo utility"<br>
:license "LGPL"<br>
<br>
:version (:read-file-form "VERSION")<br>
<br>
:serial t<br>
:components ((:file "foo")))<br>
<br>
For example I can query the system license like this:<br>
(asdf:system-licence (asdf:find-system "foo"))<br>
<br>
How can I query the version of system foo at run time?<br>
<br>
Thanks,<br>
Frank<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">"I object to doing things that computers can do." — Olin Shivers</div>
</div>