Advent of Code 2022
go test ./...
This repo builds all the solutions into a single binary. To compile and run:
go build
./aoc2022 <day>
Alternatively:
go run main.go <day>
Some of the days have a solution written in AWK. To run the AWK solutions:
./dayXY/dayXY.awk < ./dayXY/input.txt
Have Docker and VS Code? This repo includes a dev container configuration.
The dev container includes all the tools necessary to build and run the Go and AWK solutions.