Common Lisp Package: ASDF-ADD-ONS

README:

FUNCTION

Private

COMMON-PATH (PATH1 PATH2)

Return the common directory between two pathnames. Example: (common-path #P"/usr/home/john/text.doc" #P"/usr/home/bill/me.jpg") => #P"/usr/home/"

TIME-STAMP-STRING

Return a string made up like YYYYMMDD, which turns out to be a sensible choice to version-tag the archive files.

Undocumented

POSSIBLY-TRUENAME (PATH)

SYSTEM-FILE (COMPONENT)

SLOT-ACCESSOR

Private

MAKE-EXE-OP-INIT-FILE (OBJECT)

Name of the file the executable should read upon startup.

MAKE-EXE-OP-INITIAL-FUNCTION (OBJECT)

Function to be run on startup.

MAKE-EXE-OP-INITIAL-PACKAGE (OBJECT)

Package where the initial-function is defined.

MAKE-EXE-OP-OUTPUT-FILE (OBJECT)

Pathname of the output file. If NIL a sensible name is defaulted.

MAKE-EXE-OP-RUNTIME-FLAGS (OBJECT)

Additional runtime flags to pass to the lisp executable upon execution.

PACK-OP-ARCHIVE-TYPE (OBJECT)

Type of the archive file. Either :TGZ, :TBZ2 or :ZIP.

PACK-OP-OUTPUT-FILE (OBJECT)

Pathname of the output file or a keyword specifying how to compose the output pathname.

REVERT-OP-OPERATION (OBJECT)

The operation to revert the effects of.

SETFREVERT-OP-OPERATION (NEW-VALUE OBJECT)

The operation to revert the effects of.

STAT-OP-COMMAND (OBJECT)

Command to be run to generate the statistics.

STAT-OP-SOURCE-ONLY (OBJECT)

If true do statistics about the source files only, excluding documentation and such. If false do statistics about the whole system.

TAG-OP-TAGS-TYPE (OBJECT)

Type of tags to be generated. Either :ETAGS for Emacs or :CTAGS for Vi.

VARIABLE

Public

*OUTPUT-ROOT-DIRECTORY*

Absolute pathname of the root of directory tree holding the FASL files. The purpose of this variable is to change the destination of compiled files to another place other than the directory of the source file.

*SYSTEM-PATHS*

List of directory roots that should not be modified according as of *OUTPUT-ROOT-DIRECTORY*. This is, for instance, to prevent SBCL from recompiling its own components when we change the output root.

CLASS

Public

MAKE-EXE-OP

Operation class to create and executable of the files in a system. This is a trickery known to work on SBCL and CMUCL.

PACK-OP

Operation class to archive the complete collection of files making up a system in a tar file. Other archivers are available; see the ARCHIVE-TYPE slot. Currently supported formats are :TGZ, TBZ2 and :ZIP. The output file name can be chosen with the OUTPUT-FILE slot, which is a pathname or a keyword that specifies how to compose the output pathname. Examples: (oos 'pack-op :foo :archive-type :tgz :output-file :time) (oos 'pack-op :bar :archive-type :zip :output-file #P"bar.jar") (oos 'pack-op :baz :archive-type :tbz2)

REVERT-OP

Operation class to remove any file generated by another ASDF operation. The operation, this operation reverts the effects of, is stored in the OPERATION slot. Usually this will be the compilation but could be anything. Just in case you were wondering: (oos 'revert-op :system :operation 'revert-op) Doesn't do anything useful.

STAT-OP

Operation class to gather static statistics on the source code making up a system. Currently it simply counts lines, words and characters with the Unix command "wc".

TAG-OP

Operation class to create tag files from the source code making up a system. Two formats are supported; see the TAGS-TYPE slot for details.

Private

Undocumented

SIMPLE-SYSTEM-WIDE-OPERATION