This commit is contained in:
2024-02-19 00:00:24 +00:00
parent 5bb76ca460
commit b2a71657d3
7 changed files with 415 additions and 0 deletions

13
lisp/build-binary.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
LISP=$1
NAME=$(basename "$1" .lisp)
shift
sbcl --load "$LISP" \
--eval "(sb-ext:save-lisp-and-die \"$NAME\"
:executable t
:save-runtime-options t
:toplevel '$NAME:toplevel)"