diff --git a/.cargo/config b/.cargo/config index 7d217dc..6731f8f 100644 --- a/.cargo/config +++ b/.cargo/config @@ -2,5 +2,5 @@ scaffold = "run --bin scaffold -- " download = "run --bin download -- " -day = "run --bin" +solve = "run --bin" all = "run" diff --git a/README.md b/README.md index c8f5023..e8883d5 100644 --- a/README.md +++ b/README.md @@ -76,8 +76,8 @@ Puzzle inputs are not checked into git. [Reasoning](https://old.reddit.com/r/adv ### Run solutions for a day ```sh -# example: `cargo day 01` -cargo day +# example: `cargo solve 01` +cargo solve # output: # Running `target/debug/01` @@ -90,7 +90,7 @@ cargo day # 9 (elapsed: 33.18µs) ``` -`day` is an alias for `cargo run --bin`. To run an optimized version for benchmarking, append the `--release` flag. +`solve` is an alias for `cargo run --bin`. To run an optimized version for benchmarking, append the `--release` flag. Displayed _timings_ show the raw execution time of your solution without overhead (e.g. file reads).