X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?p=candle;a=blobdiff_plain;f=src%2Fmain%2Fbase.lisp;fp=src%2Fmain%2Fbase.lisp;h=793841a00bd19ebc2e654bb3b3f5400e04967252;hp=f5995a4aedc5711435f82b17ce36582826934f16;hb=22bc93248268f84257732f90fd383848ed262ca4;hpb=21b721064ff5d76ed21602ae254e1765cc5e8cfd diff --git a/src/main/base.lisp b/src/main/base.lisp index f5995a4..793841a 100644 --- a/src/main/base.lisp +++ b/src/main/base.lisp @@ -16,6 +16,22 @@ DESCRIPTION: The main directory for all candle work to be done in. When the server is running in local mode, this is also the place that builds are built in") +(defvar *environment* :local + "*ENVIRONMENT* + +VALUE TYPE: + + A keyword + +INITIAL VALUE: + + :LOCAL + +DESCRIPTION: + + The environment that candle is currently running. Useful to do switching in tests + or in the .candle file to do extra boot up processing.") + (define-condition candle-error (error) ((reason :initarg :reason :reader candle-error-reason)) (:documentation