Commit a0f5f5ef authored by Alexander Gehrke's avatar Alexander Gehrke
Browse files

Document running sample inputs

parent ad2ff354
......@@ -15,9 +15,14 @@ sbt '++ 3.0.0-M1 publishLocal'
To run the code for a day:
```
sbt "run <input_dir> <day>"
sbt "run <input_dir> <day> [sample]"
```
where `<input_dir>` is the path to a folder with AOC inputs named "day1.txt", "day2.txt", ...
and `<day>` is the day to run.
`<input_dir>` is the path to a folder with AOC inputs named "day1.txt", "day2.txt", ..., for example for the
inputs included in this repo, it would be `inputs/2020`.
`<day>` is the day to run.
If given, `sample` is the sample input to use. Put sample inputs into `input_dir`, naming scheme is `dayX-sampleY.txt`.
The sample inputs for 2020 from the instructions are included in this repo.
Inputs can be downloaded e.g. using [cargo-aoc](https://github.com/gobanos/cargo-aoc) or of course manually.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment