Macro-ify benches and unify days list to one file
Also update README with new options.
This commit is contained in:
@@ -6,13 +6,17 @@ Rusty and over-engineered edition.
|
||||
|
||||
By request of AoC creator, I haven't included the input files (e.g. src/input/day01.txt). Log into the Advent of Code site and save the inputs there to the src/input/ folder.
|
||||
|
||||
Then to run: `cargo run`.
|
||||
To run all days: `cargo run`.
|
||||
|
||||
To run a specific day and/or part: `cargo run -- --day 1 --part 1`.
|
||||
|
||||
To run in super-fast prod mode: `cargo run --release`.
|
||||
|
||||
To run with debug logs enabled: `RUST_LOG=debug cargo run`.
|
||||
|
||||
To run the tests against included test input files: `RUST_LOG=debug cargo test -- --no-capture`.
|
||||
To run all the tests against included test input files: `RUST_LOG=debug cargo test -- --no-capture`.
|
||||
|
||||
To run the tests for a specific day and/or part: `RUST_LOG=debug cargo test day01::test::test_part1 -- --no-capture`.
|
||||
|
||||
## Benchmarks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user