lisp/build-binary.sh @ 1e626e20d5e6

Merge
author Steve Losh <steve@stevelosh.com>
date Tue, 20 Sep 2022 12:56:45 -0400
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)"