From e50725168ad01d5408ed10d926a9a5622ca3677d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sp=C3=B6ttel?= <1682504+fspoettel@users.noreply.github.com> Date: Thu, 3 Nov 2022 23:02:11 +0100 Subject: [PATCH] feat: rename command `day` => `solve` clearer distinction between scaffold and solve. --- .cargo/config | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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).