summaryrefslogtreecommitdiff
path: root/src/dev/check.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2025-05-16 11:08:25 +0200
committermo8it <mo8it@proton.me>2025-05-16 11:09:06 +0200
commite73fff3bd4d6c55a2b741415ef02b9e945ef3b42 (patch)
treed3d528c3e232736c8efd09af08979d14566e2409 /src/dev/check.rs
parent8dff0df2667d3c6f1812bdb390c708709b762847 (diff)
Add dev alias
Diffstat (limited to 'src/dev/check.rs')
-rw-r--r--src/dev/check.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/check.rs b/src/dev/check.rs
index c89c4eb..9cde7f2 100644
--- a/src/dev/check.rs
+++ b/src/dev/check.rs
@@ -43,7 +43,7 @@ fn check_cargo_toml(
if old_bins != new_bins {
if cfg!(debug_assertions) {
bail!(
- "The file `dev/Cargo.toml` is outdated. Run `cargo run -- dev update` to update it. Then run `cargo run -- dev check` again"
+ "The file `dev/Cargo.toml` is outdated. Run `cargo dev update` to update it. Then run `cargo run -- dev check` again"
);
}
@@ -379,7 +379,7 @@ pub fn check(require_solutions: bool) -> Result<()> {
}
if cfg!(debug_assertions) {
- // A hack to make `cargo run -- dev check` work when developing Rustlings.
+ // A hack to make `cargo dev check` work when developing Rustlings.
check_cargo_toml(&info_file.exercises, "dev/Cargo.toml", b"../")?;
} else {
check_cargo_toml(&info_file.exercises, "Cargo.toml", b"")?;