Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 668 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 668 Bytes

Advent of Code 2020 Elixir

Solutions for Advent of Code 2020 written in Elixir.

What to do every day

  1. Copy puzzle input to clipboard
  2. pbpaste | mix day.new day_00_some_module some_function
  3. mix test
  4. Code and test until done!
  5. git commit -p -v -e -m "Add Day00SomeModule.some_function/1"
  6. git push
  7. Update submodule https://github.com/kodsnack/advent_of_code_2020

Usage

  • 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)

Installation

  • Install erlang
  • Install elixir