mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-02 16:33:30 +02:00
Include dev/Cargo.toml
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
+1
-1
@@ -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",
|
||||
)
|
||||
|
||||
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user