advent-of-code-2021
December 9, 2021 ยท View on GitHub
Advent of SQL was not enough. This year, it's ...
๐ฝ Jadvent of Qode ๐ฝ
So, what's here?
-
Each day's puzzles live under the corresponding numeric directory
nn/ -
Directory numbers are zero-padded because numeric order is important to me
-
Each directory will probably have:
day_nn.jq(the solution)day_nn_test.jq(the unit tests)input.txtfrom the AoC site
-
Teeny-tiny test/matcher framework that lives in
testing.jq. I'll probably pull this out as a separate module once AoC is over called "jamqrest" -
00/is the testing spike and corresponds to Day 1 of AoC 2019 -
Utilities library in
util.jq -
Test runner logic in
test.sh
$ ./run.sh
Usage: run.sh [-d (day)] [-p (part)] [-t (tests only)]