mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 23:10:30 +00:00
Update dev/Cargo.toml
This commit is contained in:
parent
5920a58e83
commit
078142c43c
3 changed files with 5 additions and 4 deletions
|
@ -32,7 +32,7 @@ The following command will download and compile Rustlings:
|
||||||
<!-- TODO: Remove @6.0.0-beta.x -->
|
<!-- TODO: Remove @6.0.0-beta.x -->
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo install rustlings@6.0.0-beta.2 --locked
|
cargo install rustlings@6.0.0-beta.3 --locked
|
||||||
```
|
```
|
||||||
|
|
||||||
### Initialization
|
### Initialization
|
||||||
|
|
|
@ -16,7 +16,7 @@ bin = [
|
||||||
{ name = "if1", path = "../exercises/03_if/if1.rs" },
|
{ name = "if1", path = "../exercises/03_if/if1.rs" },
|
||||||
{ name = "if2", path = "../exercises/03_if/if2.rs" },
|
{ name = "if2", path = "../exercises/03_if/if2.rs" },
|
||||||
{ name = "if3", path = "../exercises/03_if/if3.rs" },
|
{ name = "if3", path = "../exercises/03_if/if3.rs" },
|
||||||
{ name = "quiz1", path = "../exercises/quiz1.rs" },
|
{ name = "quiz1", path = "../exercises/quizzes/quiz1.rs" },
|
||||||
{ name = "primitive_types1", path = "../exercises/04_primitive_types/primitive_types1.rs" },
|
{ name = "primitive_types1", path = "../exercises/04_primitive_types/primitive_types1.rs" },
|
||||||
{ name = "primitive_types2", path = "../exercises/04_primitive_types/primitive_types2.rs" },
|
{ name = "primitive_types2", path = "../exercises/04_primitive_types/primitive_types2.rs" },
|
||||||
{ name = "primitive_types3", path = "../exercises/04_primitive_types/primitive_types3.rs" },
|
{ name = "primitive_types3", path = "../exercises/04_primitive_types/primitive_types3.rs" },
|
||||||
|
@ -47,7 +47,7 @@ bin = [
|
||||||
{ name = "hashmaps1", path = "../exercises/11_hashmaps/hashmaps1.rs" },
|
{ name = "hashmaps1", path = "../exercises/11_hashmaps/hashmaps1.rs" },
|
||||||
{ name = "hashmaps2", path = "../exercises/11_hashmaps/hashmaps2.rs" },
|
{ name = "hashmaps2", path = "../exercises/11_hashmaps/hashmaps2.rs" },
|
||||||
{ name = "hashmaps3", path = "../exercises/11_hashmaps/hashmaps3.rs" },
|
{ name = "hashmaps3", path = "../exercises/11_hashmaps/hashmaps3.rs" },
|
||||||
{ name = "quiz2", path = "../exercises/quiz2.rs" },
|
{ name = "quiz2", path = "../exercises/quizzes/quiz2.rs" },
|
||||||
{ name = "options1", path = "../exercises/12_options/options1.rs" },
|
{ name = "options1", path = "../exercises/12_options/options1.rs" },
|
||||||
{ name = "options2", path = "../exercises/12_options/options2.rs" },
|
{ name = "options2", path = "../exercises/12_options/options2.rs" },
|
||||||
{ name = "options3", path = "../exercises/12_options/options3.rs" },
|
{ name = "options3", path = "../exercises/12_options/options3.rs" },
|
||||||
|
@ -64,7 +64,7 @@ bin = [
|
||||||
{ name = "traits3", path = "../exercises/15_traits/traits3.rs" },
|
{ name = "traits3", path = "../exercises/15_traits/traits3.rs" },
|
||||||
{ name = "traits4", path = "../exercises/15_traits/traits4.rs" },
|
{ name = "traits4", path = "../exercises/15_traits/traits4.rs" },
|
||||||
{ name = "traits5", path = "../exercises/15_traits/traits5.rs" },
|
{ name = "traits5", path = "../exercises/15_traits/traits5.rs" },
|
||||||
{ name = "quiz3", path = "../exercises/quiz3.rs" },
|
{ name = "quiz3", path = "../exercises/quizzes/quiz3.rs" },
|
||||||
{ name = "lifetimes1", path = "../exercises/16_lifetimes/lifetimes1.rs" },
|
{ name = "lifetimes1", path = "../exercises/16_lifetimes/lifetimes1.rs" },
|
||||||
{ name = "lifetimes2", path = "../exercises/16_lifetimes/lifetimes2.rs" },
|
{ name = "lifetimes2", path = "../exercises/16_lifetimes/lifetimes2.rs" },
|
||||||
{ name = "lifetimes3", path = "../exercises/16_lifetimes/lifetimes3.rs" },
|
{ name = "lifetimes3", path = "../exercises/16_lifetimes/lifetimes3.rs" },
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
# Error out if any command fails
|
# Error out if any command fails
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
cargo run -- dev check
|
||||||
typos
|
typos
|
||||||
cargo outdated -w --exit-code 1
|
cargo outdated -w --exit-code 1
|
||||||
cargo test --workspace --all-targets
|
cargo test --workspace --all-targets
|
||||||
|
|
Loading…
Reference in a new issue