Add Makefile shortcuts
This commit is contained in:
parent
e1ca503669
commit
4e44365aff
2 changed files with 24 additions and 0 deletions
12
2020/template.ex
Normal file
12
2020/template.ex
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
defmodule DayX do
|
||||
defp read_input do
|
||||
Path.expand('input', Path.dirname(__ENV__.file))
|
||||
|> File.read!()
|
||||
end
|
||||
|
||||
def part1 do
|
||||
read_input()
|
||||
end
|
||||
end
|
||||
|
||||
DayX.part1() |> IO.inspect()
|
||||
Loading…
Reference in a new issue