X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/blobdiff_plain/8996f767e047eefa8af4d01b1434b54f4c169b79..979d91ebb366310a71913d8023129c93ad2470fc:/runlisp-base.conf diff --git a/runlisp-base.conf b/runlisp-base.conf index 692faa7..297fe61 100644 --- a/runlisp-base.conf +++ b/runlisp-base.conf @@ -111,6 +111,15 @@ dump-image-prelude = ${ignore-shebang} ${set-script-feature}) +;; An expression to determine the version information for the running Lisp. +lisp-version = + (list (list* \'lisp + (lisp-implementation-type) + (multiple-value-list (lisp-implementation-version))) + (cons \'asdf + (asdf:component-version (asdf:find-system "asdf")))) + +;; Full pathname to custom image. image-path = ${@image-dir}/${image-file} ;;;-------------------------------------------------------------------------- @@ -244,15 +253,16 @@ image-file = ${@name}+asdf.core run-script = ${command} $?@image{-core "${image-path}" -eval "${image-restore}" | - -batch -noinit -nositeinit -quiet + -batch -noinit -quiet -eval "(progn (setf ext:*require-verbose* nil) - ${run-script-prelude})"} + ${run-script-prelude} + ${clear-cl-user})"} -load "${@script}" -eval "(ext:quit)" -- dump-image = - ${command} -batch -noinit -nositeinit -quiet - -eval "${dump-image-prelude}" + ${command} -batch -noinit -quiet + -eval "(progn ${dump-image-prelude} ${clear-cl-user})" -eval "(ext:save-lisp \"${@image-new|q}\" :batch-mode t :print-herald nil :site-init nil :load-init-file nil)"