Categorygithub.com/RossLaing8417/advent-of-code-go
repositorypackage
0.0.0-20241220200938-ec863d6ae0e9
Repository: https://github.com/rosslaing8417/advent-of-code-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

advent-of-code-go

Solving Advent of Code in go

Usage

A make file has been provided for running, testing, and generating solution files. You can run make help for more info

Generating solution files

Generating today's solution files

make gen

Generating a specific year and/or day solution files

make gen year=<year> day=<day>

Testing a solution

Testing today's solution (both parts)

make test

Testing today's solution (specific part)

make test part=<part>

Testing a specific year and day

make test year=<year> day=<day>

Testing a specific year and day with a specific part

make test year=<year> day=<day> part=<part>

Running a solution

Running today's solution

make run part=<part>

Running a specific year and day

make run year=<year> day=<day> part=<part>

Note

  • A .aoc_session file containing your session cookie can be provided in the root dir for auto downloading the input when generating the solution files
  • Solution files will not be overwritten
  • The year will default to last year if the month is not December