From dc51851d7e86e6410bf6c7a746244e3970509b11 Mon Sep 17 00:00:00 2001 From: AKP Date: Sun, 3 Dec 2023 23:32:41 +0000 Subject: [PATCH] Update `README.md` --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 385793a..e06979f 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,12 @@ Puzzle inputs and descriptions are not included in this repository. You'll have The method of running solutions varies by year. +
From 2023 onwards + +Use the `./aoc` script and provide it with the filename of the file you would like to run. For example, `./aoc run challenges/01-trebuchet/main.py`. + +Alternatively, run the code directly. Provide it with an input via stdin and set the first command line argument to be either `1` or `2` to run either part 1 or 2 respectively. This should go for all languages. +
2021 and 2022 In order to run solutions from 2021 and 2022, you should switch to the `2022` branch first. @@ -37,4 +43,4 @@ In 2020, all solutions are in Python and/or Go. Dependencies for 2020 challenges are not neatly defined anywhere, so determing and installing the correct ones is an exercise for the reader. -
\ No newline at end of file +