summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rw-r--r--top.lisp7
2 files changed, 13 insertions, 0 deletions
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)