Common Lisp/External libraries/ASDF/Using ASDF

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Initialization[edit | edit source]

In order to be able to use ASDF you might call require first:

(require 'asdf)

Installing systems using ASDF-Install[edit | edit source]

In order to install cliki system using ASDF-Install execute following steps:

(require 'asdf)
(require 'asdf-install)  ;; works on SBCL, may require more work on other lisps
(asdf-install:install 'cliki)

Loading systems[edit | edit source]

In order to load an already installed system call:

(asdf:oos 'asdf:load-op 'cliki)

Compiling and testing[edit | edit source]

In order to compile system sources call:

(asdf:oos 'asdf:compile-op 'cliki)

See also[edit | edit source]