feat: Index exercises by name

BREAKING CHANGE: This changes the way you use `rustlings run` by now
requiring an abridged form of the previous filename, e.g:

`rustlings run exercises/if/if1.rs` becomes
`rustlings run if1`
This commit is contained in:
marisa
2019-11-11 15:46:32 +01:00
parent a47a62172a
commit 627cdc07d0
6 changed files with 68 additions and 15 deletions

View File

@@ -1,7 +1,9 @@
[[exercises]]
name = "compSuccess"
path = "compSuccess.rs"
mode = "compile"
[[exercises]]
name = "testSuccess"
path = "testSuccess.rs"
mode = "test"
mode = "test"