github.com/frodejac/aoc-2022@v0.0.0-20221213081734-037c741b1c89/README.md (about)

     1  # Advent of Code 2022
     2  
     3  My go (get it?) at [Advent of Code 2022](https://adventofcode.com/2022).
     4  
     5  ## How to run
     6  
     7  Requires Go 1.19 to be installed on your system.
     8  
     9  Makefile should do all the heavy lifting. If you want to build and run everything, just do `make all`.
    10  
    11  Run a specific puzzle solution:
    12  ```bash
    13  make day([0-1][0-9])|(2[0-4])
    14  ```
    15  
    16  ## Use your own input
    17  AoC input depends on the logged in user. My input can be found in the [`assets`](assets) directory. It's organized by one subdirectory for each day, each with a `input.txt` input file, and `part1.txt` and `part2.txt` solution files (if I've managed to solve the puzzle). If you want to use your own input you can either replace the appropriate input files manually, or run `make clean` and set the environment variable `AOC_SESSION` to your personal AoC session cookie value. If you want to run the tests, make sure to also replace the solution files with your own solutions (no automatic way to do that unfortunately).