/hamler-aoc-2020

Advent of Code 2020 (Hamler Edition)

Primary LanguageShell

Advent of Code 2020 (Hamler Edition)

AoC

To make this work you need to ...

  • make sure you have erlang/otp >= 23 installed configured (through asdf (or comparable))
    • asdf plugin add erlang && asdf install erlang 23.3 && asdf global erlang 23.3
  • install hamler using asdf
    • asdf plugin add hamler && asdf install hamler 0.4 && asdf global hamler 0.4
    • Note: Right now 0.4 works. 0.5 doesn't (still investigating).
  • clone the repo
  • run hamler test
  • run ./scripts/genMain.sh > ./src/Main.hm; hamler build && hamler run | grep -v "Force eval" to generate and run the measurements