Blame


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