From b455c6e8a96332daff80b91c98062810123f4ed7 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 14 Dec 2021 01:05:57 +0000 Subject: Add instructions and add quicklisp snippet --- README.md | 6 ++++++ top.lisp | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/README.md b/README.md index d2cab58..72c7994 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # Advent of Code 2021 These are the solutions to the [advent of code](https://adventofcode.com/2021) from 2021. + +To run all the days: + +``` bash +sbcl --quit --load top.lisp --eval "(run-all)" +``` diff --git a/top.lisp b/top.lisp index 065291c..4a69a6a 100644 --- a/top.lisp +++ b/top.lisp @@ -1,3 +1,10 @@ +;;; The following lines added by ql:add-to-init-file: +#-quicklisp +(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp" + (user-homedir-pathname)))) + (when (probe-file quicklisp-init) + (load quicklisp-init))) + (ql:quickload 'uiop :silent t) (ql:quickload 'cl-ppcre :silent t) (ql:quickload 'clunit :silent t) -- cgit