I wouldn’t recommend it. Generally though…
- Log back into advent of code and copy the session value into `aoc.util:*aoc-session*` in your lisp image.
- Add a new module to the `advent.asd` system for the year. Make `main.lisp` depend on it.
- Add the section for the year to the `@ADVENT` section in `main.lisp`.
- Start a new test file for the year and wire it into `tests.lisp` and the ASDF system.
- Add a new file component to the system definition in `advent.asd`.
- At the repl, `(scaffold 2022 02)` or whatever the date is.
- Load the advent system in the repl, jump to the package, open tests.
That’s it. Get hacking!
Oh, yeah. You might be interested in making sure any changes don’t break things.
The usual `(asdf:test-system :advent)` incantation should take care of you.
- Brit Butler ([email protected])
Copyright (c) 2023 Brit Butler ([email protected])
Licensed under the MIT License.