Common Lisp Package: CAVEMAN.PROJECT

# Caveman.Project - Caveman Project Class. ## SYNOPSIS ;; Usually you shouldn't write this code. ;; These code will be generated by `caveman.skeleton:generate'. (defclass <myapp> (<project>) ()) (defmethod build ((this <myapp>) &optional app) (builder ...)) (defmethod load-config ((this <myapp) mode) ;; override if you want. ) ## DESCRIPTION Caveman.Project provides a base class `<project>' for Caveman Project. Project manages how to build applications and middlewares and loads configuration. Usually you don't have to cave about this package because `caveman.skeleton:generate' will generate code for you. ## AUTHOR * Eitarow Fukamachi (e.arrows@gmail.com) ## SEE ALSO * Clack.Builder

README:

FUNCTION

Private

FILE-EXISTS-P (PATHSPEC)

Checks whether the file named by the pathname designator PATHSPEC exists and returns its truename if this is the case, NIL otherwise. The truename is returned in `canonical' form, i.e. the truename of a directory is returned as if by PATHNAME-AS-DIRECTORY.

SLURP-FILE (PATH)

Read a specified file and return the content as a sequence.

GENERIC-FUNCTION

Public

BUILD (PROJECT)

Build up an application for this project and return it. This method must be implemented in subclasses.

Undocumented

LOAD-CONFIG (THIS MODE)

START (THIS &KEY PORT SERVER (MODE DEV) DEBUG LAZY &ALLOW-OTHER-KEYS)

STOP (THIS)

SLOT-ACCESSOR

Public

Undocumented

CONFIG (OBJECT)

SETFCONFIG (NEW-VALUE OBJECT)

DEBUG-MODE-P (OBJECT)

SETFDEBUG-MODE-P (NEW-VALUE OBJECT)

PROJECT-MODE (OBJECT)

SETFPROJECT-MODE (NEW-VALUE OBJECT)

Private

Undocumented

ACCEPTOR (OBJECT)

SETFACCEPTOR (NEW-VALUE OBJECT)

VARIABLE

Private

*PROJECT*

Special variable to store current Caveman application. Don't set to this variable directly. This is designed to be bound in lexical let.

CLASS

Public

Undocumented

<PROJECT>