Solutions for Advent of Code 2020 written in Elixir.
- Copy puzzle input to clipboard
pbpaste | mix day.new day_00_some_module some_function
mix test
- Code and test until done!
git commit -p -v -e -m "Add Day00SomeModule.some_function/1"
git push
- Update submodule https://github.com/kodsnack/advent_of_code_2020
mix test
Run the ExUnit test suite
Puzzle input files are untracked files input/day_xx_yyyy_yyy.txt
that will get
picked up by test suite if present. (But note that the test suite is
hardcoded to my results)
- Install erlang
- Install elixir