lisp/build-binary.sh @ 8148377ec342

Update subrepo
author Steve Losh <steve@stevelosh.com>
date Tue, 07 Nov 2023 10:05:28 -0500
parents 301dff61cd7b
children (none)
#!/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
              :compression t
              :save-runtime-options t
              :toplevel '$NAME:toplevel)"