Skip to content

TheRijn/AoC-2022

Repository files navigation

Advent of Code 2022

https://adventofcode.com/2022

Setup

With local PHP 8.1

make install

Using Docker

make d_install

Running a Day of AoC

cat 1.input | bin/consle aoc:<day>

Running without any arguments will run part one and two.

Usage:
  aoc:1 [options]

Options:
  -1, --one             Execute part One
  -2, --two             Execute part Two

Test

All days have a unittest that tests the example input and output.

bin/phpunit