From 8be7c5d959951dfafaf3fcaebe860a64ee3d8f7f Mon Sep 17 00:00:00 2001 From: ckonstanski Date: Sun, 28 Nov 2021 16:55:46 -0700 Subject: initail commit --- scripts/README | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 scripts/README (limited to 'scripts/README') diff --git a/scripts/README b/scripts/README new file mode 100644 index 0000000..b6f4878 --- /dev/null +++ b/scripts/README @@ -0,0 +1,33 @@ +The scripts in this directory are meant to be run as standalone +executables. They must be made into executable SBCL image files. + +From a terminal, enter this directory and type: + + sbcl --load + +where lisp file is a file with a .lisp extension. For example: + + sbcl --load failover.lisp + +This will load the lisp file and leave you at the REPL. The prompt +will look like: + + * + +At the REPL, type the following lisp form: + + (in-package :dns-admin) + +and hit Enter. Then type: + + (sb-ext:save-lisp-and-die "" :toplevel #'run :executable t) + +where is the name you want for the new executable core +file. For example: + + (sb-ext:save-lisp-and-die "failover.exe" :toplevel #'run :executable t) + +and hit Enter. + +When `save-lisp-and-die' finishes, SBCL will exit and you will be back +at a terminal prompt. -- cgit v1.3