1
0
Fork 0
advent-of-code/2021/lib/mix/advent_of_code.ex
Sloane Perrault a691461882 Setup 2021 (#1)
* chore: scaffold project

* chore: stand up puzzle solver, puzzle case

* feat: solution runner

* feat: solution generator
2022-09-21 09:19:53 -04:00

13 lines
295 B
Elixir

defmodule Mix.AdventOfCode do
@moduledoc """
Helpers for `AdventOfCode` mix tasks.
"""
def day_module(day) do
Module.concat(AdventOfCode, Macro.camelize("Day#{day}"))
end
def part_module(day, part) do
Module.concat(day_module(day), Macro.camelize("Part#{part}"))
end
end