~deciduously/aoc2020

020e175580f2eee2e8a51fd70979a38781caaf42 — Ben Lovy a month ago 65a8579
Update README
1 files changed, 3 insertions(+), 1 deletions(-)

M README.md
M README.md => README.md +3 -1
@@ 4,4 4,6 @@ Advent of Code 2020 in Nim.

## Usage

Install [Nim](https://nim-lang.org/install.html).  Run `nim compile --run aoc.nim 1`.  Pass the desired day to execute.  It will place the `aoc` binary in the current directio for subsequent runs with, e.g. `./aoc 1`.
Install [Nim](https://nim-lang.org/install.html).  Clone this repo and execute, e.g. `nim compile --run aoc.nim 1` or `nim c -r aoc.nim 1` to run the Day 1 solution.  Pass the desired day to execute, or `0` to run all days in sequence.  It will place the `aoc` binary in the current directio for subsequent runs with, e.g. `./aoc 1`.

These were all written on Linux, and thus assume `\n` line endings.  I may write a cross-paltfrom adapter at some point, but I was able to work on this repo in Windows by editing `helpers.nim` to look for `\r\n` instead.