This repo has my Advent of Code 2019 solutions.
My solutions are written in Go. Each solution has library code and tests in the day<n>
directory. The commands to produce the actual solutions are pretty small and live in cmd/day<n>
.
The project uses Bazel to build, run, and test. There's a Makefile as a shortcut for common actions.
For instance, to run the solution for day 6, run:
make day6
which will use bazel run
to run that day's command with the proper input.
Each day's solution has unit tests that usually cover the examples given in the Advent of Code problem statement. To run the tests for every day, run:
make test