Blame


1 3c0eb591 2024-11-30 lh #!/bin/sh
2 3c0eb591 2024-11-30 lh #|
3 b68ab874 2024-12-01 lh exec sbcl --dynamic-space-size 4096 --script "build.lisp"
4 3c0eb591 2024-11-30 lh |#
5 3c0eb591 2024-11-30 lh (let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
6 3c0eb591 2024-11-30 lh (user-homedir-pathname))))
7 3c0eb591 2024-11-30 lh (when (probe-file quicklisp-init)
8 3c0eb591 2024-11-30 lh (load quicklisp-init)))
9 3c0eb591 2024-11-30 lh (push (probe-file #P".") asdf:*central-registry*)
10 3c0eb591 2024-11-30 lh
11 3c0eb591 2024-11-30 lh (sb-ext:restrict-compiler-policy 'speed 3 3)
12 3c0eb591 2024-11-30 lh (push :release *features*)
13 3c0eb591 2024-11-30 lh
14 3c0eb591 2024-11-30 lh (ql:quickload :aoc)
15 3c0eb591 2024-11-30 lh (loop for day from 1 to 25
16 3c0eb591 2024-11-30 lh for system-name = (format nil "aoc/day-~A" day)
17 3c0eb591 2024-11-30 lh for system = (asdf:find-system system-name nil)
18 3c0eb591 2024-11-30 lh when system
19 3c0eb591 2024-11-30 lh do (ql:quickload system-name))
20 3c0eb591 2024-11-30 lh (sb-ext:save-lisp-and-die "aoc"
21 3c0eb591 2024-11-30 lh :toplevel #'aoc:main
22 b68ab874 2024-12-01 lh :executable t
23 b68ab874 2024-12-01 lh :save-runtime-options t)