Introspection of system version
fau at riseup.net
Fri Jun 17 16:18:39 UTC 2016
Thanks, yes that works.
I tried that before but it didn't seem to work with (:read-file-form
"VERSION") but it turned out I had the VERSION file in the wrong
On Fri, 2016-06-17 at 11:04 -0500, Javier Olaechea wrote:
> Hi Frank,
> You are looking for asdf:component-version. See for example how
> On Fri, Jun 17, 2016 at 10:59 AM, Frank <fau at riseup.net> wrote:
> > Hello,
> > In the system definition we can specify a version; for example:
> > (asdf:defsystem :foo
> > :description "foo utility"
> > :license "LGPL"
> > :version (:read-file-form "VERSION")
> > :serial t
> > :components ((:file "foo")))
> > For example I can query the system license like this:
> > (asdf:system-licence (asdf:find-system "foo"))
> > How can I query the version of system foo at run time?
> > Thanks,
> > Frank
More information about the asdf-devel