From 0e28d0461b957ca5ab2c8a24c7349ec759812bf0 Mon Sep 17 00:00:00 2001 From: Garrit Franke <32395585+garritfra@users.noreply.github.com> Date: Wed, 1 Dec 2021 10:39:20 +0100 Subject: [PATCH] Add running instructions --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 51a3b44..93384dc 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,25 @@ # Advent of Code This code may contain spoilers, if you haven't finished the puzzles over on https://adventofcode.com. + +## Running + +Paste your input in a file named `input.txt` in the root of the project of the +desired language. After that, follow the instructions for each language: + +### Rust + +``` +cargo run +``` + +### Elixir + +``` +$ iex +iex(1)> c("main.ex") +[DayX] +iex(2)> DayX.load_file |> DayX.first +YOUR ANSWER +iex(3)> +``` \ No newline at end of file