diff options
| author | ckonstanski <carlos.konstanski@olo.com> | 2021-11-28 16:55:46 -0700 |
|---|---|---|
| committer | ckonstanski <carlos.konstanski@olo.com> | 2021-11-28 16:55:46 -0700 |
| commit | 8be7c5d959951dfafaf3fcaebe860a64ee3d8f7f (patch) | |
| tree | 57e0dc941d54685629630528ae34d892e5138102 /scripts/README | |
initail commit
Diffstat (limited to 'scripts/README')
| -rw-r--r-- | scripts/README | 33 |
1 files changed, 33 insertions, 0 deletions
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 <lisp-file> + +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 "<exe-file>" :toplevel #'run :executable t) + +where <exe-file> 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. |
