File tree 5 files changed +9
-6
lines changed
5 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,14 @@ keywords = [
37
37
" learning" ,
38
38
]
39
39
include = [
40
+ " /src/" ,
40
41
" /exercises/" ,
42
+ " /solutions/" ,
41
43
" /info.toml" ,
42
- " /LICENSE" ,
44
+ # A symlink to be able to include `dev/Cargo.toml` although `dev` is excluded.
45
+ " /dev-Cargo.toml" ,
43
46
" /README.md" ,
44
- " /solutions/" ,
45
- " /src/" ,
47
+ " /LICENSE" ,
46
48
]
47
49
48
50
[dependencies ]
Original file line number Diff line number Diff line change
1
+ dev/Cargo.toml
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ pub fn check() -> Result<()> {
166
166
if DEBUG_PROFILE {
167
167
check_cargo_toml (
168
168
& info_file. exercises ,
169
- include_str ! ( "../../dev/ Cargo.toml" ) ,
169
+ include_str ! ( "../../dev- Cargo.toml" ) ,
170
170
b"../" ,
171
171
) ?;
172
172
} else {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ pub fn update() -> Result<()> {
29
29
if DEBUG_PROFILE {
30
30
update_cargo_toml (
31
31
& info_file. exercises ,
32
- include_str ! ( "../../dev/ Cargo.toml" ) ,
32
+ include_str ! ( "../../dev- Cargo.toml" ) ,
33
33
b"../" ,
34
34
"dev/Cargo.toml" ,
35
35
)
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ pub fn init() -> Result<()> {
31
31
. init_exercises_dir ( & info_file. exercises )
32
32
. context ( "Failed to initialize the `rustlings/exercises` directory" ) ?;
33
33
34
- let current_cargo_toml = include_str ! ( "../dev/ Cargo.toml" ) ;
34
+ let current_cargo_toml = include_str ! ( "../dev- Cargo.toml" ) ;
35
35
// Skip the first line (comment).
36
36
let newline_ind = current_cargo_toml
37
37
. as_bytes ( )
You can’t perform that action at this time.
0 commit comments