Shard Detail

aoc2022 v0.1.0

My solutions to the Advent of Code 2022 using Crystal.
adventofcode adventofcode2022 aoc crystal

Install & Use

Add the following code to your project's shard.yml under:

dependencies to use in production
- OR -
development_dependencies to use in development


aoc2022:
  github: douglascamata/aoc_2022

Readme

aoc2022

These are my solutions to the Advent of Code 2022 using Crystal.

Usage

Run all solutions:

crystal src/main.cr

Run a given day:

crystal src/main.cr <DAY_NUMBER>

Scaffold files for a given day

It will create the implementation class, its spec, and an empty input file.

crystal tools/day_gen.cr <DAY_NUMBER>