Common Lisp/External libraries/ASDF/Using ASDF

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

Initialization[edit]

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

(require 'asdf)

Installing systems using ASDF-Install[edit]

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]

In order to load an already installed system call:

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

Compiling and testing[edit]

In order to compile system sources call:

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

See also[edit]