advent-of-code-2019

module
v0.0.0-...-a30599c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2019 License: MIT

README

advent-of-code-2019

This repo has my Advent of Code 2019 solutions.

Setup

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.

Running a day's solution

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.

Running tests

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL