advent-of-code-crystal-2024
Advent of Code
Crystal solutions to Advent of Code.
Installation
First install crystal.
Note: If on macOS, I recommend installing via homebrew because it includes interpreter support. The current version installed by asdf does not support the interpreter.
Usage
Create a file at .session
and enter your cookie value.
Download input for a day:
crystal run ./src/advent_of_code.cr -- -d 3
Solve a day:
crystal run ./src/advent_of_code.cr -- -s 1
Testing
Run all tests:
crystal spec
Run a specific test:
crystal spec spec/01_spec.cr:8
Repository
advent-of-code-crystal-2024
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- 1 day ago
- December 2, 2024
License
MIT License
Links
Synced at
Sat, 21 Dec 2024 02:43:52 GMT
Languages