FIXME: Add discussion of run-shell-command
? Others?
ASDF includes several additional features that are generally useful for system definition and development. These include:
system-relative-pathname
It's often handy to locate a file relative to some system.
The system-relative-pathname
function meets this need.
It takes two arguments: the name of a system and a relative pathname.
It returns a pathname built from the location of the system's source file
and the relative pathname. For example
> (asdf:system-relative-pathname 'cl-ppcre #p"regex.data") #P"/repository/other/cl-ppcre/regex.data"
Instead of a pathname, you can provide a symbol or a string,
and optionally a keyword argument type
.
The arguments will then be interpreted in the same way
as pathname specifiers for components.
See Pathname specifiers.