advent-of-code-2023

My solutions to AoC 2023
git clone git://git.entf.net/advent-of-code-2023
Log | Files | Refs

commit 60853f7c670af8ae92dd553238d5b76d1634bc02
parent b8f65320ed3b18ed6ac4209a0bbd1a86948db907
Author: Lukas Henkel <lh@entf.net>
Date:   Sat,  2 Dec 2023 07:21:34 +0100

Quickload day systems

Diffstat:
Mbuild.lisp | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/build.lisp b/build.lisp @@ -13,10 +13,10 @@ exec sbcl --script "build.lisp" (ql:quickload :aoc) (loop for day from 1 to 25 - do (handler-case - (asdf:load-system (format nil "aoc/day-~A" day)) - (asdf:missing-component (c) - (declare (ignore c))))) + for system-name = (format nil "aoc/day-~A" day) + for system = (asdf:find-system system-name nil) + when system + do (ql:quickload system-name)) (sb-ext:save-lisp-and-die "aoc" :toplevel #'aoc:main :executable t)