summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-04-25 19:58:55 +0200
committermo8it <mo8it@proton.me>2024-04-25 19:58:55 +0200
commit5920a58e83e1594d2a8e00ec39c82ab1d345eb3d (patch)
tree85f3ae541af5c4a6f6b73a12f3ac62eff0f2e12f /src
parentaaea5b490fabecbd1111a6ece6446fedfc9800f3 (diff)
Include dev/Cargo.toml
Diffstat (limited to 'src')
-rw-r--r--src/dev/check.rs2
-rw-r--r--src/dev/update.rs2
-rw-r--r--src/init.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/dev/check.rs b/src/dev/check.rs
index 564aa0a..b6e6f31 100644
--- a/src/dev/check.rs
+++ b/src/dev/check.rs
@@ -166,7 +166,7 @@ pub fn check() -> Result<()> {
if DEBUG_PROFILE {
check_cargo_toml(
&info_file.exercises,
- include_str!("../../dev/Cargo.toml"),
+ include_str!("../../dev-Cargo.toml"),
b"../",
)?;
} else {
diff --git a/src/dev/update.rs b/src/dev/update.rs
index d2f20aa..fe7622c 100644
--- a/src/dev/update.rs
+++ b/src/dev/update.rs
@@ -29,7 +29,7 @@ pub fn update() -> Result<()> {
if DEBUG_PROFILE {
update_cargo_toml(
&info_file.exercises,
- include_str!("../../dev/Cargo.toml"),
+ include_str!("../../dev-Cargo.toml"),
b"../",
"dev/Cargo.toml",
)
diff --git a/src/init.rs b/src/init.rs
index ce239ea..8a9fb36 100644
--- a/src/init.rs
+++ b/src/init.rs
@@ -31,7 +31,7 @@ pub fn init() -> Result<()> {
.init_exercises_dir(&info_file.exercises)
.context("Failed to initialize the `rustlings/exercises` directory")?;
- let current_cargo_toml = include_str!("../dev/Cargo.toml");
+ let current_cargo_toml = include_str!("../dev-Cargo.toml");
// Skip the first line (comment).
let newline_ind = current_cargo_toml
.as_bytes()