changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/sbcl-save-core.sh

changeset 366: e5f98f30bdf6
parent: c87410230a12
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 13 Sep 2024 20:18:57 -0400
permissions: -rwxr-xr-x
description: bump lisp version
1 #!/bin/sh
2 # save an sbcl core image
3 CORE_SRC=${3:-/usr/local/src/core/}
4 FORM="(progn (pushnew #P\"$CORE_SRC\" asdf:*central-registry*) (pushnew #P\"$CORE_SRC\" ql:*local-project-directories*) (ql:quickload :std) ${2} (save-lisp-and-die \"${1:-std.core}\"))"
5 sbcl --noinform --non-interactive --eval "$FORM"