a691461882
* chore: scaffold project * chore: stand up puzzle solver, puzzle case * feat: solution runner * feat: solution generator
13 lines
295 B
Elixir
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
|