29 lines
No EOL
567 B
Markdown
29 lines
No EOL
567 B
Markdown
# Aoc
|
|
|
|
Solutions for [Advent of Code 2021][1], this year in Elixir.
|
|
|
|
[Elixir 1.12.0][2] preferred.
|
|
|
|
## Help scripts
|
|
|
|
Run tests using `mix test` as usual.
|
|
|
|
Create input file, test file and solution file for a day,
|
|
using day 1 as example:
|
|
|
|
mix Aoc.new 1 "Name of the puzzle"
|
|
|
|
Solve a single puzzle, using puzzle from day 3 as example:
|
|
|
|
mix Aoc.solve 3
|
|
|
|
Solve all puzzles, starting at the first:
|
|
|
|
mix Aoc.solve_all
|
|
|
|
## Log
|
|
|
|
_Advent of Code has not started yet. See you in December!_
|
|
|
|
[1]: https://adventofcode.com/
|
|
[2]: https://hexdocs.pm/elixir/Kernel.html |