scmx / advent-of-code-2022-elixir

Solutions for Advent of Code 2022 written in Elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2022 Elixir

Solutions for Advent of Code 2022 written in Elixir.

What to do every day

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

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

About

Solutions for Advent of Code 2022 written in Elixir

License:MIT License


Languages

Language:Elixir 100.0%